
_Ricky_
Members-
Posts
77 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by _Ricky_
-
Re: looking to buy sent you a message
-
Re: looking to buy still looking for someone to make this
-
Re: hosp time what is it your trying to do...turn in crystals for hospital time just like you turn in crystals for energy?
-
Re: help i have my gang respect set as a decimal...if you wish to talk on msn we can do so
-
Re: help $respectchange=($ir['level']/$r['level']); if (abs($r['level'] - $ir['level']) > '100') { $respectchange=1.5; } else if (abs($r['level'] - $ir['level']) > '50') { $respectchange=1.25; } else if (abs($r['level'] - $ir['level']) > '1') { $respectchange=1; } else if (abs($r['level'] - $ir['level']) < '1') { $respectchange=1; } else if (abs($r['level'] - $ir['level']) < '50') { $respectchange=.75; } else if (abs($r['level'] - $ir['level']) < '100') { $respectchange=.5; } $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-$respectchange WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=$respectchange; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+$respectchange WHERE gangID={$ir['gang']}"); print " You earnt $respectchange respect for your gang!"; } after adding in the else......every attack gets 1.5....
-
Re: help seems it would be...but i am a level 10 attacking a level 116 and it gave me 1 respect......which it should give 1.5...maybe something is missing?
-
Re: help heres what i have $respectchange=($ir['level']/$r['level']); if (abs($r['level'] - $ir['level']) > '100') $respectchange=1.5; if (abs($r['level'] - $ir['level']) > '50') $respectchange=1.25; if (abs($r['level'] - $ir['level']) > '1') $respectchange=1; if (abs($r['level'] - $ir['level']) < '1') $respectchange=1; if (abs($r['level'] - $ir['level']) < '50') $respectchange=.75; if (abs($r['level'] - $ir['level']) < '100') $respectchange=.5; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-$respectchange WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=$respectchange; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+$respectchange WHERE gangID={$ir['gang']}"); print " You earnt $respectchange respect for your gang!"; } what im trying to do is make it to where if your in a war with another gang....if you attack someone over 100 levels higher than you ... then you get 1.5 respect... if you attack someone 100 levels lower than you... you get .5 respect...and of course the in betweens...
-
i am trying to figure out how to say if their level > 100 from your level something like if($r['level'] > $ir['level']) only if their level is 100 higher or lower from your level
-
Re: [mccode v2] Ignore User Mail my apologys domination, i had to get illusions update of the ignore.php...it works...thanks +1
-
Re: [mccode v2] Yet Another Attack Fatal error: Call to undefined method database::fetch_assoc() in /home/glocktal/public_html/attack.php on line 213
-
Re: [mccode v2] Ignore User Mail tested and dont work...
-
Re: looking to buy still looking
-
i am looking to buy something to where when a gang is at war and they attack a person they get respect points according to their level...say if you attack someone higher level than you then you get 1 1.25 or 1.5...if you attack someone lower you get .25 .5 .75
-
i have a option to pay people out of the hospital....ok so they are opening up a new window...attacking in one window then leaveing that page alone...useing the other window to pay them out of the hospital...then clicking back on the attack page and attacking again when someone has low health, below half...and i have the else if ($odata['hp'] < $odata['maxhp']/2) so thats not the problem...thanks up front for any help
-
Re: Looking for a Referal Mod ... hey ah how about you fix the errors on your game first and oh yeah..shops...weapons...would probally be a plus...never seen a game without them..
-
i have it set to where in order to war you have to have 5 members, but im not sure how to set it to where if you declare on a gang they must have 5 members help please!
-
Re: [mc codes lite] User Credit Card Companys basicly when you set up a company it says to enter max ammount a user can borrow but they can borrow as much as you have in your company....needs a code stateing you cant borrow more than the max ammount that the company owner stated when they made the company
-
Re: [mc codes lite] User Credit Card Companys problem is...the code is set when a user takes out a loan to minus the ammount from the companys bank....but the user can borrow as much as the company has in its bank....there needs to be something in there that says you cannont borrow more than that max ammount
-
Re: [mc codes lite] User Credit Card Companys very nice mod +1 but is there anything that makes the person pay back the loan?
-
Re: gym exp never gave any either
-
Re: gym exp $db->query("UPDATE `users` SET `exp` = `exp` + '*0.01' WHERE `userid` = $userid"); this is what i have and its just not giveing any exp
-
if i wanted to add 1 percent per train...not 1 but 1 percent....how would it be done
-
Re: attack problems nevermind...fixed
-
Re: attack problems basicly i added this in..... else if ($odata['hp'] < $odata['maxhp']/2) { print "You can only attack those with half health. [url='index.php']Back[/url]"; $h->endpage(); exit; } but now when you click what weapon to attack with....then you hit them knock them below half health....then the half health comes up and makes you stop attacking which sends you back to main page and lose all exp
-
Re: attack problems ok now my problem is...i added that in but when they attack they hit once....then it knocks them below half health and they hit again and it says cant attack because half health....