14.05.2014, 05:25
So you want to send custom message, when command is longer than 31 symbol? Then try:
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(strlen(cmdtext) > 31)
{
// custom message
return 0;
}
return 1;
}