Eternal Posted December 4, 2008 Posted December 4, 2008 i was sick of seeing in the gangs list this respect and so on so i decided to code my own gang levels without having to modify alot. put this is global_func.php near end or anywhere lol You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then replace all instances of You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in gang central and your gang with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. it will tally your respect and set it to a level form THIS IS A MODIFY TO ATTACK PAGES TO SET THE EXP FOR GANGS HIGHER You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ANY TROUBLES POST HERE ... Quote
castle Posted December 4, 2008 Posted December 4, 2008 Re: [mccodes V1'2] gang levels would that top part still go in global_func for v2? Quote
Eternal Posted December 4, 2008 Author Posted December 4, 2008 Re: [mccodes V1'2] gang levels would that top part still go in global_func for v2? Yes it would. i wrote this for v2 but i think v1 uses the same sort of global_func.php Quote
castle Posted December 4, 2008 Posted December 4, 2008 Re: [mccodes V1'2] gang levels i think i did something wrong, just displays one under respect in gang central, no matter who or how many times you attack another player, gang or not Quote
Eternal Posted December 5, 2008 Author Posted December 5, 2008 Re: [mccodes V1'2] gang levels that is correct lol setup your own gang and change the respect on it to something high like 8000000 and then check the level lol Quote
castle Posted December 5, 2008 Posted December 5, 2008 Re: [mccodes V1'2] gang levels lol, duh...sorry! Quote
Haunted Dawg Posted December 11, 2008 Posted December 11, 2008 Re: [mccode] gang levels Since a gang will never get that much exp just use: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think that will x's it by 50 per level and not 1500 Quote
Eternal Posted December 12, 2008 Author Posted December 12, 2008 Re: [mccode] gang levels Since a gang will never get that much exp just use: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think that will x's it by 50 per level and not 1500 Yes that would be more sensible for the people that are using the old way of gaining respect. since i use UPDATE gangs set gangrespect=".$expgang." then $expgang = $expwon/100*15 which is 15% of the total exp they gained in the battle for gang wars i am in the middle of setting a capture the flag sort of layout where they can Own own other peoples gangs in a way without having access to them like on main page for that users gang GangFlag: owned by Other persons gang.. Then they have the chance to buy it back for a set price the other gang asks or beat them in battle... Quote
? Sparks ? Posted May 30, 2009 Posted May 30, 2009 Re: [mccode] gang levels Nice Job you messed my page up :x Quote
Haunted Dawg Posted May 30, 2009 Posted May 30, 2009 Re: [mccode] gang levels Your own fault you installed wrong. Quote
CrazyT Posted May 31, 2009 Posted May 31, 2009 Re: [mccode] gang levels Nice Job you messed my page up :x lmaooo Quote
Assault Posted May 31, 2009 Posted May 31, 2009 Re: [mccode] gang levels Your own fault you installed wrong. have to agree on that one, care to post your page? Quote
? Sparks ? Posted June 28, 2009 Posted June 28, 2009 Re: [mccode] gang levels It was a long time ago, I could still use some help though Quote
DELETE-ME-NOW- Posted August 18, 2010 Posted August 18, 2010 could someone please tell me exactly what to add, and were to attack? The instructions innthat part arnt too clear... Quote
sniko Posted August 18, 2010 Posted August 18, 2010 In attack, you would see something like, You hospilized {$r['username']} and gained $exp exp, dropping him of a tall building and then dropping him off to the nearest hospital, you gain 3 respect for your gang. [...]SQL's[...] I think its that part. Quote
rulerofzu Posted August 19, 2010 Posted August 19, 2010 This is the get the level code from Grpg (like most of Et's mods lol) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
s4man1 Posted March 25, 2011 Posted March 25, 2011 Sorry to be a Noob, but how much exp do the gangs need to get to go up a level i cant work it out from the code. Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.