04.04.2012, 09:56
You need to set your timer to
and change your
And If you want I can make to give random money now every time 1000$
Код:
SetTimer( "Payday", 60000, true );
Код:
public payday(playerid) { new hh, mm, ss; gettime( hh, mm, ss ); if( mm == 0 ) { for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) { GameTextForPlayer(i, "~p~PAY~w~DAY", 1000, 1); GivePlayerCash(playerid, 1000); SetPlayerScore(playerid, GetPlayerScore(playerid) +1); SendClientMessage(playerid, COLOR_GREENYELLOW,"~~~~~~~~~~PayDay~~~~~~~~~~"); SendClientMessage(playerid, COLOR_WHITE,"You have recived a check of 1,000$!"); SendClientMessage(playerid, COLOR_WHITE,"You also got level up!"); SendClientMessage(playerid, COLOR_GREENYELLOW,"~~~~~~~~~~~~~~~~~~~~~~~~~~"); } } return 1; }