easy Q - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: easy Q (
/showthread.php?tid=141459)
easy Q -
armyoftwo - 13.04.2010
This is kinda dumb question

, but i am stuck here:
Код:
weaponmaterials[playerid] =-10;
how can i make that it counts off 10 materials not set it -10 materials?
Re: easy Q -
Desert - 13.04.2010
weaponmaterials[playerid] = weaponmaterials[playerid]-10;
Re: easy Q -
dice7 - 13.04.2010
pawn Код:
weaponmaterials[playerid] -= 10;