Check if the player tipes off before checking for any ID.
pawn Код:
command(specnew, playerid, params[])
{
if(strcmp(text, "off", true) == 0)
{
//your codes
}
else
{
//dont forget the new and stuff
if(sscanf(params, "u", id))
{
// codes
}
}
return 1;
}