18.08.2011, 17:12
Код:
forward StopPMTimer(playerid); SetTimer("StopPMTimer",3600000,0); public StopPMTimer(playerid) { for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { GivePlayerMoney(playerid,2000); SendClientMessage(playerid, COLOR_WHITE, "Paycheck of 2000"); GameTextForPlayer(playerid, "~y~4~w~0000~g~$ ~n~~r~Thanks for playing!",3000,0); return 1; } } return 1; }