02.02.2010, 12:05
hi, as you see in the title a have a string like this
but with or without the space i always got the message error, so i'm asking if someone knows how to check if there is a space in a string
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(!response) return 0;
if(dialogid == 0)
{
if(strfind(inputtext, " "))
{
SendClientMessage(playerid, COLOR_LIGHTRED, "You cannot put space !");
return 1;
}
}
}