29.06.2015, 05:46
(
Последний раз редактировалось Sc0pion; 30.06.2015 в 14:32.
)
Fixed!
if(ServerHour == 18) { if(ServerMinute == 00) { Payday(); SendClientMessageToAll(-1, "{00FFEE}[ PAYDAY: Thank you for playing San Andreas - Gang War, and you have received your payday. ]"); } }
if(ServerDay == 06) if(ServerHour == 10) if(ServerMinute == 31) { totallotto=25000; SendClientMessageToAll(-1, "{B7FF00}[ LOTTERY NOTIFICATION: The lottery has been reset back to $25000! ]"); }
public Payday() { new string[256]; for(new i = 0; i < MAX_PLAYERS; i++) { new payday = GetPlayerScore(i)*10; //Depends on player's score. format(string,sizeof(string),"Payday: You have recieved $%i", payday); SendClientMessage(i,-1, string); GivePlayerMoney(i,payday); } return 1; }