SA-MP Forums Archive
question - 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: question (/showthread.php?tid=174361)



question - iJumbo - 05.09.2010

SetPlayerScore(killerid,GetPlayerScore(playerid) + 1);

this add +1 score or if i have 20 scores i get 1 ?


Re: question - iggy1 - 05.09.2010

Adds 1 to the existing score.


Re: question - LarzI - 05.09.2010

Just try it yourself..

Oh, and yes; it sets your score to 21 if you had 20.