For the cvar you could implement a change callback function to force a
certain value to be set (watch out for infinite loops here).

You will need to implement your own socket code.

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Traxer
Sent: Monday, May 16, 2005 4:42 PM To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] read only cvars and sockets

> I'm currently playing around with some server plugin code for the
> source server but i got stuck at two points.
>
> First, is it possible to define a cvar as read only? If it's possible
> which flag(s) must be set or which functions do i have to call?
>
> Second, is there anything within the engine that allows me to create
> a new socket for some query stuff which i want to implement or do i
> have to use the systems socket functions?
>
> Traxer
>
> _______________________________________________
> 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