Score - 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: Score (
/showthread.php?tid=79342)
Score -
JoeDaDude - 27.05.2009
I have a timer,
And i have just found out the problem for the score,
The timer checks every 1 second if a police officer has made an arrest,
If so it increases there score by 1 point,
If i use
pawn Код:
SetPlayerScore(playerid, 1);
Compiles fine but instead of adding 1 point onto the score,
It sets the score to 1 altogether, How to make it add 1 point onto that players score
Re: Score -
Weirdosport - 27.05.2009
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);