Raised This Month: $ Target: $400
 0% 

Cvar's


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thEsp
BANNED
Join Date: Aug 2017
Old 05-09-2020 , 18:17   Re: Cvar's
Reply With Quote #1

Additionally, make sure you work with them as pointers.

set/get_cvar_x = Find the corresponding cvar (more cvar's in the server = harder work = slower), and then parse its value.
set/get_pcvar_x = Parse its value directly.

https://forums.alliedmods.net/showthread.php?t=94123
thEsp is offline
Grovliom
Member
Join Date: Mar 2020
Location: somewhere in Serbia
Old 05-10-2020 , 07:57   Re: Cvar's
Reply With Quote #2

Quote:
Originally Posted by thEsp View Post
Additionally, make sure you work with them as pointers.

set/get_cvar_x = Find the corresponding cvar (more cvar's in the server = harder work = slower), and then parse its value.
set/get_pcvar_x = Parse its value directly.

https://forums.alliedmods.net/showthread.php?t=94123
Thanks thEsp for this! I will use it!
Grovliom is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode