If any text contains
#1

Hi, i just wonder that somone have the code for something like this:

If any text at chat contains the only words: fuck && sex then ...(my code)

Thanks for helpin
Reply
#2

public OnPlayerText(playerid, text[])
{
if(strfind(text, "WORD HERE", true) != -1)
{
YOUR CODE HERE
}
return 1;
}
Reply
#3

Look for strfind in dutils or dudb
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)