02.05.2008, 22:44
Remember that strfind returns the location of the found substring, so using '== 0' may not be the best option.
That will ban the player if they have the [CUEBALL] tag anywhere in their name. Andre's method will only work if it is at the start of his name.
pawn Код:
if(strfind(pName, "[CUEBALL]", true) != -1)
return Ban(playerid);
~Cueball~