Xonotic
sv_running_guns.qc File Reference
#include "sv_running_guns.qh"
+ Include dependency graph for sv_running_guns.qc:

Go to the source code of this file.

Functions

 MUTATOR_HOOKFUNCTION (running_guns, SetDefaultAlpha)
 
 REGISTER_MUTATOR (running_guns, autocvar_g_running_guns)
 

Variables

bool autocvar_g_running_guns
 

Function Documentation

◆ MUTATOR_HOOKFUNCTION()

MUTATOR_HOOKFUNCTION ( running_guns  ,
SetDefaultAlpha   
)

Definition at line 6 of file sv_running_guns.qc.

References default_player_alpha, and default_weapon_alpha.

7 {
10  return true;
11 }
float default_player_alpha
Definition: world.qh:66
float default_weapon_alpha
Definition: world.qh:67

◆ REGISTER_MUTATOR()

REGISTER_MUTATOR ( running_guns  ,
autocvar_g_running_guns   
)

Variable Documentation

◆ autocvar_g_running_guns

bool autocvar_g_running_guns

Definition at line 3 of file sv_running_guns.qc.