Quote:
Originally Posted by n0rt
hi all
well i have 1 question
i want to register(maybe i even dont need to do that) a cvar,specify value to it and dont allow to change that(only in sma), and i dont want that to appear somewhere in game,help please?
for example
i have autohealing plugin with cvar autoheal_hp and value 55
new cvar_hp
cvar_hp = register_cvar("autoheal_hp", "55");
how can i hold that to 55 and make it never appear in Plugin Cvars Menu or smth like that
|
Why not use a regular variable?
const var = 55 //cant be changed.
new var = 55 //can be changed
__________________