SA-MP Forums Archive
Time - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Time (/showthread.php?tid=468628)



Time - AnonScripter - 09.10.2013

How to make something like
if Time == 13:00
{
SendClientMessageToAll"";
}


Re: Time - Patrick - 09.10.2013

pawn Код:
new pHour, pMinutes;
GetPlayerTime(playerid, pHour, pMinutes);
if(pHour == 13) return SendClientMessageToAll(COLOR_WHITE, "The time is 13!");