13.05.2012, 12:24
Quote:
Originally Posted by Wiki
Returns The number of characters before the sub string (the sub string's start position) or -1 if it's not found.
|
pawn Код:
if(strfind(GetpName(playerid), "[iP]", false) != -1)
It should be set to false so it someone has the tag [ip] or [Ip] he won't be able to talk on the clan chat neither.
To even make this more accurate use the following:
pawn Код:
if(!strfind(GetpName(playerid), "[iP]", false))
It won't work if a player has [iP] anywhere else in his name, example: "iRa[iP]ge" or "iRage[iP]".