SA-MP Forums Archive
Just a lil help - 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)
+--- Thread: Just a lil help (/showthread.php?tid=540393)



Just a lil help - Gogeta101 - 04.10.2014

How to fuck to give +100

Player[killerid][pMoney]+100;
Player[killerid][pMoney]-100;


Re: Just a lil help - IceCube! - 04.10.2014

Use the opperand += and -=

These essentially do: Player[killerid][pMoney] = Player[killerid][pMoney] + 100;