Raised This Month: $ Target: $400
 0% 

Gladiator Mod v1.3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-07-2010 , 18:06   Re: Gladiator Mod v1.0
Reply With Quote #11

I would put retreiving of cvar values in plugin_cfg() personally so that other configs are executed before you retrieve the value.

EDIT: Ok, so I tested some things. I created a cvar in one plugin and tried retrieving the pointer in another (both in plugin_init and in plugin_cfg). The cvar did not exist in plugin_init when first starting the server. After that it existed in both. FYI.

Therefore any get_pcvar_*() functions will send an error when used for a non-existant cvar.

Also, in my test it seems that amxx.cfg and server.cfg were executed after plugin_cfg() which seems strange to me intuitively.

EDIT2: Just tried it with mp_friendlyfire and is always 0 when you first start the server (cause by my last statement above). That sucks. Wish there was a forward executed after all native .cfg files were executed.

EDIT3: There is no public function named "ResetHUD". You should be seeing errors because of this.
__________________

Last edited by fysiks; 11-07-2010 at 18:26.
fysiks 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 20:07.


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