08.01.2013, 21:48
Код:
CMD:time(playerid, params[]) { new Sati, Min, Sec, string[128]; gettime(Sati, Min, Sec); gettime(JailTimer[playerid]); format(string, sizeof(string), "Sada je: %i sati, %i minuta i %i sekundi.", Sati, Min, Sec); SendClientMessage(playerid, COLOR_GREEN, string); format(string, sizeof(string), "Jos ste zatvoreni %i minuta", JailTimer[playerid]); SendClientMessage(playerid, COLOR_GREEN, string); format(string,128,"~w~Time Left:~n~~r~%d",JailTimer[playerid]); GameTextForPlayer(playerid, string,1000,6); return 1; }