09.04.2012, 16:18
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.
That's the line.
+rep if you help.
pawn Код:
SetPlayerArmour(playerid, GetPlayerArmour(playerid) + 1.2*drugamount);
+rep if you help.