24.04.2014, 19:09
I have this code, but it is not giving the payday?
OnGameModeInit
Why isn't it working?
OnGameModeInit
pawn Код:
SetTimer("PayDay", 60000, true);
pawn Код:
forward PayDay();
public PayDay()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
GivePlayerMoney(i, (GetPlayerMoney(i) * 10) / 100);
}
}