There is a
static ConCommandBase const *FindCommand( char const *name );
in convar.h. It should work fine.
Greets
Ronny
Fun, now tell me how to read the value of the cvar?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ronny Schedel
Sent: 18 December 2004 18:14
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] ServerPlugin: ICvar?
engine->ServerCommand("mp_timelimit 30\n");
Greets
Ronny
..So I can modify a game cvar.. (One I didn't create)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcelo
Bezerra
Sent: 18 December 2004 15:06
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] ServerPlugin: ICvar?
What do you want ICvar for?
On Fri, 2004-12-17 at 22:48 +0000, Bug wrote:
Is there a way to get access to ICvar from within a server plugin?
It uses the appSystemFactory interface within a client DLL and the
engineFactory within a server dll, both of which are inaccessible
to server plugins. I tried, just for kicks, using interfaceFactory and
gameServerFactory with no successes.
_______________________________________________
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
_______________________________________________
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