Raised This Month: $ Target: $400
 0% 

Global Shared CVARS - How To ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_Master_
Senior Member
Join Date: Dec 2006
Old 06-05-2007 , 07:02   Re: Global Shared CVARS - How To ?
Reply With Quote #2

I do believe I've seen something like a cvar, command manager round here but I think they might be a bit much for what you need. Just checking cvars in plugin_init() is better since server load is at it's minimum.

Also AMXX does NOT provide any mechanism of pre-declaring stand-alone cvars (it has something to do with cvar registration and owner plugin). Moving forward, you could edit an always-active amxx plugin and create the cvar there, leaving the rest of the plugins to just access it.

EDIT: Or you could declare the cvar pointer as public and thus fully exposing it to other plugins.

Last edited by _Master_; 06-05-2007 at 07:06.
_Master_ is offline
 



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 10:40.


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