Time Issue
#1



How could I fix this issue? This is the code:

pawn Код:
new
         string[ 128 ],
         Hour,
         Minute,
         Second,
         Year,
         Month,
         Day;

    getdate(Year, Month, Day);
    gettime(Hour, Minute, Second);

format(string, sizeof(string), "Time:     "COL_GREEN"%%02d:%02d", Hour,Minute);
    SendClientMessage(playerid, COLOR_WHITE, string);
Thank you advance!
Reply
#2

pawn Код:
new
         string[ 128 ],
         Hour,
         Minute,
         Second,
         Year,
         Month,
         Day;

    getdate(Year, Month, Day);
    gettime(Hour, Minute, Second);

format(string, sizeof(string), "Time:     "COL_GREEN"%02d:%02d", Hour,Minute);
    SendClientMessage(playerid, COLOR_WHITE, string);
Reply
#3

Lol. Thank you for noticing my obvious issue, I feel stupid sometimes, I should stop rushing .
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)