Allow Certain Names
#5

You would need to make the definition a string, and use it like a variable (how I consider it) in the strfind( ) function:
pawn Код:
#define CLAN_TAG "[ABC]"
#define CLAN_TAG_2 "[123]"

if( strfind( name, CLAN_TAG, true ) == -1 && strfind( name, CLAN_TAG_2, true ) == -1 )
Reply


Messages In This Thread
Allow Certain Names - by ToPhrESH - 07.05.2011, 03:13
Re: Allow Certain Names - by grand.Theft.Otto - 07.05.2011, 03:34
Re: Allow Certain Names - by Bakr - 07.05.2011, 03:44
Re: Allow Certain Names - by ToPhrESH - 07.05.2011, 05:20
Re: Allow Certain Names - by Bakr - 07.05.2011, 05:32
Re: Allow Certain Names - by ToPhrESH - 07.05.2011, 05:34
Re: Allow Certain Names - by Lorenc_ - 07.05.2011, 05:35

Forum Jump:


Users browsing this thread: 4 Guest(s)