Server Point System 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Point System help. (
/showthread.php?tid=96417)
Server Point System help. -
[mad]MLK - 08.09.2009
Hey there im wondering if someone could help me i want to script a server point system were players can earn points doing certin things and they can earn privilages like flying a hydra for example if the player gets into a hydra it checks they have enough points and if they do it deducts 50 points from there points and how would i save these points? i have read dracoblue's thread about saving data but im not quite sure. thanks mlk
Hosted List
Re: Server Point System help. -
ilikepie2221 - 08.09.2009
Uses dini for saving info. If you want to SET a player's score, use SetPlayerScore.
Re: Server Point System help. -
[mad]MLK - 08.09.2009
i know how to set score, i want to create a server point system
Re: Server Point System help. -
iLinx - 08.09.2009
Код:
enum PlayerData {
ServerPoints
};
new PlayerStats[MAX_PLAYERS][PlayerData]
usage just like you would with a normal variable
Код:
PlayerStats[playerid][ServerPoints]