27.05.2009, 18:09
For score:
Enjoy!
pawn Код:
// OnGameModeInit
SetTimer("ScoreUpdate", 1000, 1);
// On the end of your script
forward ScoreUpdate();
public ScoreUpdate()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerScore(i, GetPlayerMoney(i));
}
}
}