if(strfind ??
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strfind(text, "Enter-text-here", true) != -1) { // this will search in "text" array the string "Enter-text-here" and will ignore uppercase if used,to set it to case sensetive,set the last parameter to false.
        // put sound code here
    }
    return 1;
}
Reply


Messages In This Thread
if(strfind ?? - by radiobizza - 05.06.2013, 08:00
Re: if(strfind ?? - by Kaperstone - 05.06.2013, 08:07
Re: if(strfind ?? - by radiobizza - 05.06.2013, 08:11

Forum Jump:


Users browsing this thread: 1 Guest(s)