Xonotic
sv_running_guns.qc
Go to the documentation of this file.
1
#include "
sv_running_guns.qh
"
2
3
bool
autocvar_g_running_guns
;
4
REGISTER_MUTATOR
(running_guns,
autocvar_g_running_guns
);
5
6
MUTATOR_HOOKFUNCTION
(running_guns,
SetDefaultAlpha
)
7
{
8
default_player_alpha
= -1;
9
default_weapon_alpha
= +1;
10
return
true
;
11
}
MUTATOR_HOOKFUNCTION
MUTATOR_HOOKFUNCTION(running_guns, SetDefaultAlpha)
Definition:
sv_running_guns.qc:6
autocvar_g_running_guns
bool autocvar_g_running_guns
Definition:
sv_running_guns.qc:3
REGISTER_MUTATOR
REGISTER_MUTATOR(running_guns, autocvar_g_running_guns)
SetDefaultAlpha
void SetDefaultAlpha()
Definition:
world.qc:104
default_player_alpha
float default_player_alpha
Definition:
world.qh:66
default_weapon_alpha
float default_weapon_alpha
Definition:
world.qh:67
sv_running_guns.qh
common
mutators
mutator
running_guns
sv_running_guns.qc
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13