ProgrammingWhat these DVARs means?
Posted:

ProgrammingWhat these DVARs means?Posted:

BlackOpsProMod
  • New Member
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
What these DVARs means and how to change them?

case "chest":
         if( IsDefined( level.zombie_weapons[ GetDvar( #"scr_force_weapon" ) ] ) )
         {
            //iprintln( GetDvar( #"scr_force_weapon" ) + " will spawn on next open" );
         }
         break;


#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;


/#

init()
{
   SetDvar( "zombie_devgui", "" );
   SetDvar( "scr_force_weapon", "" );
   SetDvar( "scr_zombie_round", "1" );
   SetDvar( "scr_zombie_dogs", "1" );
   SetDvar( "scr_spawn_tesla", "" );
   SetDvar( "scr_force_quantum_bomb_result", "" );

   level thread zombie_devgui_think();
   level thread zombie_devgui_tesla_think();
   level thread zombie_devgui_thundergun_think();
   level thread zombie_devgui_freezegun_think();
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS