Quote:
Originally Posted by Bugsy
PHP Code:
new szMap[ 32 ];
get_mapname( szMap , charsmax( szMap ) );
//map name does not contain jb
if ( !containi( szMap , "jb" ) )
return PLUGIN_HANDLED;
//your code here
|
PHP Code:
if ( !containi( szMap , "jb" ) )
will return true
if and only if "jb" is the first two letters in the mapname.
__________________