01.02.2014, 17:42
Top of script
OnGameModeInit:
Now public for it:
That's it
Код:
forward Paycheck(); // setting a timer for paycheck
Код:
SetTimer("Paycheck", 3600000, true); // activating a timer
Код:
public Paycheck()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new rand = random(1000);
GivePlayerMoney(i, rand);
SendClientMessage(i, -1, "You get your paycheck");
}
}
return 1;
}

