PCvars
Stupid question:
I saw scripts that set the variable's value to the cvar's value at plugin_init(), without setting it using the register_cvar. I.E: PHP Code:
Hope you understand what I mean... |
Re: PCvars
|
Re: PCvars
OK, then i'll stick with pcvar1 = register_cvar("...", "...").
Thanks and +karma... |
Re: PCvars
get_cvar_pointer() is used for cvar which is not in your plugin.
new pointer = get_cvar_pointer( "amx_other_cvars" ) And to retrieve the value, use get_pcvar_*(). |
Re: PCvars
Quote:
|
All times are GMT -4. The time now is 18:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.