14.02.2014, 15:58
Код:
forward TimeUpdate(); public TimeUpdate() { worldTime++; worldTime%=24; SetWorldTime(worldTime); minuto=0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(ShitInfo[i][pBank] == 1) { if(worldTime==6 && minuto==0 && seconds == 1) { GivePlayerCash(i,15); PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0); SendClientMessage(i,COLOR_YELLOW, "[ ! ] You receive +15 Dollars"); return 1; } } } } return 1; }