get_cvar_num,get_pcvar_num
is that the same?
or which way is better? PHP Code:
PHP Code:
|
Re: get_cvar_num,get_pcvar_num
It's practicly the same, but pcvars is slightly faster.
|
Re: get_cvar_num,get_pcvar_num
Use cvar pointers (the first method)
|
Re: get_cvar_num,get_pcvar_num
that mean pcvar is better?
|
Re: get_cvar_num,get_pcvar_num
Yes
g_CVARPointer = register_cvar( "the_cvar" ); Then access the value with the get_pcvar_X() functions. You can also get a pointer for a cvar that already exists with: g_pDLURL = get_cvar_pointer( "sv_downloadurl" ); |
Re: get_cvar_num,get_pcvar_num
:crab::crab::crab::crab:
OUH YES thx for the thread starter and reply ... i was just going to open a same thread lol xD :crab::crab::crab::crab: |
Re: get_cvar_num,get_pcvar_num
Quote:
|
| All times are GMT -4. The time now is 13:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.