I can't remember, but I think there is an event when a var is changed... You
can store a default value in Load, and update that value during this
event...
Or else, you can add a myplugin_init function that must be called at end of
server.cfg, and that function will read all values needed for your plugin...

Damien

----- Original Message -----
From: "LDuke" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 06, 2005 5:26 AM
Subject: Re: [hlcoders] ConVar in Server Plugin


--
[ Picked text/plain from multipart/alternative ]
Try checking them in ServerActivate or LevelInit.



On 9/5/05, -string- <[EMAIL PROTECTED]> wrote:

Hi

I was wondering when I can be certain that the CSS server has loaded the
server.cfg.
When I read variables in the Load function I only get default values. My
plugin is dependant of these varaibles to initiate so it is critical to
read
the correct values as soon as possible.



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders






_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to