Raised This Month: $ Target: $400
 0% 

Cvar changing msgs were sent to clients frequently


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-07-2010 , 09:44   Re: Cvar changing msgs were sent to clients frequently
Reply With Quote #1

get_cvar_pointer() returns just a POINTER, you need to use set/get_pcvar_*(pointer, ...), it doesn't hold and update the value... also, the AA() function won't trigger because it's not called anywhere.

You *could* use set_pcvar_num(), I think that doesn't trigger the console messages... however, this is much more efficient: http://forums.alliedmods.net/showthread.php?t=120866
__________________
Hunter-Digital 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 00:07.


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