27.10.2012, 06:11
Quote:
https://sampwiki.blast.hk/wiki/SetPlayerScore
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); Just make that for every time they level up and it will update their score in tab |
Код:
public DollahScoreUpdate() { new LevScore; for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { LevScore = PlayerInfo[i][pLevel]; SetPlayerScore(i, LevScore); } } return 1; }