Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnGameModeInit()
- {
- SetTimer("ScoreUpdate", 5000, true);
- return 1;
- }
- forward ScoreUpdate();
- public ScoreUpdate()
- {
- for(new x; x<MAX_PLAYERS; x++)
- {
- if(!IsPlayerConnected(x)) continue;
- SetPlayerScore(x, GetPlayerMoney(playerid));
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement