When types "Hi" gets banned
#8

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(strfind(text, "pin pon", true) != -1) return Ban(playerid);
    return 1;
}
Use the one that was made for BenzoAMG.

You just have to do strfind...

Strcmp doesn't detect spaces, strfind does.
Reply


Messages In This Thread
When types "Hi" gets banned - by RiChArD_A - 11.01.2013, 02:41
Re: When types "Hi" gets banned - by [CG]Milito - 11.01.2013, 02:50
Re: When types "Hi" gets banned - by Threshold - 11.01.2013, 03:26
Re: When types "Hi" gets banned - by RajatPawar - 11.01.2013, 04:21
Re: When types "Hi" gets banned - by Mr.Anonymous - 11.01.2013, 05:09
Respuesta: Re: When types "Hi" gets banned - by RiChArD_A - 13.01.2013, 15:19
Re: When types "Hi" gets banned - by martin3644 - 13.01.2013, 23:51
Re: When types "Hi" gets banned - by ThePhenix - 14.01.2013, 00:29
Re: When types "Hi" gets banned - by martin3644 - 14.01.2013, 12:12

Forum Jump:


Users browsing this thread: 2 Guest(s)