04.09.2016, 23:09
CountDown problem :
when i typed for example /countdown 5
it make the countdown 65550
cmd:
More
when i typed for example /countdown 5
it make the countdown 65550
cmd:
Код:
dcmd_countdown(playerid,params[]) { new time; if(sscanf(params,"u",time)) { SendClientMessage(playerid,COLOR_ERROR,"{CACA00}[INFO]{FFFFFF}: /countdown (time)"); return 1; } cdtime = time; return 1; }
Код:
PlayerPlayingTimeHour[i] ++; } } if(cdtime > 1) { new string[56]; format(string,sizeof(string),"Countdown\n%d~b~",cdtime); GameTextForAll(string,5000,3); cdtime --; } if(cdtime == 1) { cdtime = 0; GameTextForAll("GOO",5000,3); }