09.12.2015, 22:22
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 <= 15)
{
SendClientMessage(i, COLOR_RED, " one point!");
PlayerInfo[i][pExp]++;
}