10.12.2015, 11:32
PHP код:
new hour,minute,seconds;
gettime(hour,minute,seconds);
if(hour >= 16 && hour <= 20)
{
SendClientMessage(i, COLOR_RED, " two points!");
new playerexp = PlayerInfo[i][pExp]; //RP
PlayerInfo[i][pExp] = playerexp + 2;
}
else if((hour >= 21 && hour <= 24) || (hour >= 0 && hour <= 15))
{
SendClientMessage(i, COLOR_RED, " one point!");
PlayerInfo[i][pExp]++;
}