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



adding points - darkrider366 - 01.02.2009

I need to know because somehow... i kinda... ERM..... fo.....forr.....forgoottt. how to add +1 point and -1 points when a player does something.

i do not need to know like
OnPlayerDeath();
{
SetPlayerPoint(playerid, **);
}
i just want to know how to make a point go
UP by 1
and
DOWN by 1


Re: adding points - darkrider366 - 01.02.2009

cmon people, please :P


Re: adding points - Shadowww - 01.02.2009

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


Re: adding points - darkrider366 - 01.02.2009

Quote:
Originally Posted by Shallot | Shadowww
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
thanks mate