25.02.2018, 12:02
Quote:
This is how i'd solve it:
pawn Код:
|
PHP код:
SetWorldTime(h);
new msg[39];
format(msg, sizeof msg, "You have set the time to %02i:%02i", h, m);
SendClientMessage(playerid, 0x00FF00FF, msg);
Plus, check if it's valid hour/minute isn't useful since the pawn native already do it. Saying that for every code presented here.