07.02.2007, 09:43
Mmmh, the strval bug will crash with any characters (if i remember). And anyway, why not checking the lenght of the full command?
pawn Code:
public OnPlayerCommandText(playerid,cmdtext[])
{
if (strlen(cmdtext) > 45)
{
Ban(playerid);
return 1;
}
return 0;
}