Hmm,

I added the following, to add the key.

static ConCommand startprone("+prone", IN_ProneDown);
static ConCommand endprone("-prone", IN_ProneUp);




r00t 3:16 CQC Gaming www.cqc-gaming.com


----- Original Message ----- From: "Jeffrey "botman" Broome" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, January 07, 2005 8:47 PM Subject: Re: [hlcoders] Keybind / prone


r00t 3:16 wrote:
I created I keybind which sets the player prone
+prone -prone

However I want to make this a toggle.
eg: The push +prone and they stay prone until the key is pressed again.
Wasn't sure how to do this.......

Just make the bind be "prone". In ClientCommand(), if the player is standing, they go prone. If the player is prone, they stand up.

--
Jeffrey "botman" Broome

_______________________________________________
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