Also in regards to my last post, I have worked out an interim solution, but
I do not like it.

 if ( !strncmp( ( char * )STRING( gpGlobals->mapname ), "oz_ctf", 6 ) == 0
&& !strncmp( ( char * )STRING( gpGlobals->mapname ), "op4ctf_", 7 ) == 0)
 CVAR_SET_STRING( "oz_defaultctf", "0" );

this seems to work great, but the problem is, I want to use some maps, that
do not have those as prefixes, and I do not want to add every map name to
the list.

Dave R. Meyers
aka Starbreaker
www.starbraker.com
Lead Coder Oz Deathmatch

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to