23.07.2015, 12:46
Код:
warning 219: local variable "Year" shadows a variable at a preceding level
The command compiles fine in my script (after changing MSG to SendClientMessage, and C_RED to a color I have defined in my script).
Try removing that line:
pawn Код:
CMD:test(playerid,params[]){
gettime(Hour,Second,Minute);
getdate(Day, Month, Year);
format(String, sizeof(String),"Time: %i:%i:%i | Date: %i/%i/%i",Hour,Minute,Second,Day,Month,Year);
MSG(playerid,C_RED,String);
return 1;}