View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-10-2020 , 22:11   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #2

What do you mean by "game speed"?

Also, you can get and set any cvar (whether or not it does what you want when you change it depends on the cvar). Simply use the cvar functions in AMX Mod X:

Code:
get_cvar_*()
get_pcvar_*()
set_cvar_*()
set_pcvar_*()
To use the pcvar functions with cvars that are not created in your plugin, use get_cvar_pointer() to get the proper reference to the cvar.
__________________

Last edited by fysiks; 02-10-2020 at 22:12.
fysiks is offline