Just catch the command on the client and check if the VGUI is open
before sending it to the server, it's not difficult to do, and probably
the only sensible way to go about it, no matter how much Avatar-X may
disapprove =).

regards,

Rob Harwood.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of [LMS]007
Sent: 03 February 2003 12:06
To: [EMAIL PROTECTED]
Subject: [hlcoders] Shimms, here is my suggestion

If you set up the vgui to call a message to the server thu the
clientcommand
then the server knows when the vgui is active or not, you can use -vgui
and
+vuig or something. So what im getting at is, if the client sends the
message "doorcode 239833" and the vgui is not active, then you can just
have a
lil if stantment if(!g_ClientVguiActive) or some crap. and the door dont
open.
its not fullproof, but id like to see anyone try to get around it. They
would
have bind the code once aquired, then bring down the vgui and press the
bind..
i mean thats just stupid, you might as well just punch in the code.

anyway its a easy alterative using the clientcommend with some semi hack
proof
boolean variables.


ps: you could even make it more stupid for them to use binds in the
middle of
the game, but sending each number seperatly to the clientcommand
"doorcode 4"
"doorcode 5"
"doorcode 6"
"doorcode end"

just set up the logic and checking in the server.
and make it send the message each time you press a number in the vgui.
_______________________________________________
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