31.10.2013, 09:01
this is it
Код:
public Payday(playerid) { new hour, minute, second; gettime(hour, minute, second); if(minute == 00) { for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) { if(PlayerInfo[i][ExpS] == 0) { PlayerInfo[i][Exp]++; } else { PlayerInfo[i][Exp] += PlayerInfo[i][ExpS]; } if(PlayerInfo[i][Level] < 30) { GivePlayerMoney(i, PlayerInfo[i][Level]*1000); } else { GivePlayerMoney(i, 30000); } } } return 1; }