08.10.2013, 16:52
Take a look at this for damage thing
https://sampforum.blast.hk/showthread.php?tid=330005
and for the score thing do this
When player login
+Rep if it works
https://sampforum.blast.hk/showthread.php?tid=330005
and for the score thing do this
Код:
public OnPlayerDisconnect(playerid, reason) { INI_WriteInt(File,"Score",GetPlayerScore(playerid)); return 1; }
Код:
SetPlayerScore(playerid,INI_Int("Score"),PlayerInfo[playerid][pScore]);