26.09.2016, 04:44
When player says 'My name is Nam' , it will hide player's text. And how to check Strfind in some sentences. Every sentences has 'Dog' player's text will be hide. Sorry for my bad English
|
Yeah, I'm sorry for your bad English too. I didn't understand a thing.
|

![]() Example : Johnson: My name is Johnson When Johnson said My name is Johnson, in this sentence, there is 'name'. AAAAAAz Any sentences has 'name', script will hide this sentence. Do you understand?? |
public OnPlayerText(playerid, text[])
{
if(!strcmp(pName, "John", true))
{
return 0;
}
return 1;
}