09.06.2016, 13:43
This function check caracter by caracter:
you can test it?
PHP код:
for(new i; string[i]; ++i){
if(string[i] == '~'){
break;
}
}
if(string[i] != EOS){
return SendClientMessage(playerid, COLOR_RED, "Can't use in /cnn or /cnnn '~' ");
}