if(strcmp(cmd,"/countdown",true) == 0) { new tmp[256]; tmp = IPTAdminMode_strtok(cmdtext, idx); if(PlayerInfo[playerid][Level] < Config[CL_countdown]) { new string[256]; format(string,sizeof(string),"Level error: You need be level %d to use this command.",Config[CL_countdown]); SendClientMessage(playerid,COLOR_RED,string); return 1; } if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: /countdown [second] [freeze 0 / 1]"); return 1; } cd_seconds = strval(tmp); tmp = IPTAdminMode_strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: /countdown [second] [freeze 0 / 1]"); return 1; } cd_freeze = strval(tmp); if(cd_freeze < 0 || cd_freeze > 1) { SendClientMessage(playerid,COLOR_WHITE,"SERVER: /countdown [second] [freeze 0 / 1]"); return 1; } if(cd_freeze == 1) { for(new i=0;i