15.09.2014, 12:38
I wouldn't recommend you to use timers for such things thats just a waste of memory, you should update the player score once you give him money only.
pawn Код:
stock GiveMoney(playerid,amount)
{
GivePlayerMoney(playerid,amount);
SetPlayerScore(playerid,GetPlayerMoney(playerid));
return true;
}
//later usage should be GiveMoney instead of GivePlayerMoney. for example:
public OnPlayerSpawn(playerid)
{
GiveMoney(playerid,100);
return 1;
}