11.08.2012, 15:23
for some reason my command does not give back the amount of days from start of year but the wiki says it should. wierd message comes and has some random symbols and then yourname and the command you did
Код:
if(strcmp(cmd, "/day", true) == 0 && IsPlayerConnected(playerid)) { if (IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdminX] >= 1336) { new Day = getdate(); format(string,256,"%d",Day); SendClientMessage(playerid,COLOR_WHITE,string); } return 1; }