Confused.
#1

So I made a /takedrugs command, it works perfectly, par the fact that when you /takedrugs, it sets your armour to whatever the setarmour does, the only problem is, it should add it to your existing armour.

pawn Код:
SetPlayerArmour(playerid, GetPlayerArmour(playerid) + 1.2*drugamount);
That's the line.
+rep if you help.
Reply


Messages In This Thread
Confused. - by Jack.7331 - 09.04.2012, 16:18
Re: Confused. - by Jeffry - 09.04.2012, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)