RE: [hlcoders] Keybind / prone

2005-01-09 Thread Jay Stelly
: [hlcoders] Keybind / prone Wasn't this answered by someone already? put an else if On Sun, 9 Jan 2005 01:22:30 -0500, r00t 3:16 [EMAIL PROTECTED] wrote: Well that isn't the problem really. The prone code is being called etc .. The problem is the toggle on / off part

Re: [hlcoders] Keybind / prone

2005-01-09 Thread Daniel Menard
shouldn't add it this way. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Hasan Aljudy [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 09, 2005 2:02 AM Subject: Re: [hlcoders] Keybind / prone Wasn't this answered

RE: [hlcoders] Keybind / prone

2005-01-09 Thread Tony \omega\ Sergi
-m_nOldButtons IN_PRONE)) { //do your stuff } -Original Message- From: r00t 3:16 [mailto:[EMAIL PROTECTED] Sent: January 9, 2005 2:18 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Keybind / prone Not really. Because what he said doesn't work. I currently have (disregard all

Re: [hlcoders] Keybind / prone

2005-01-09 Thread r00t 3:16
-gaming.com - Original Message - From: Tony omega Sergi [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 09, 2005 10:09 PM Subject: RE: [hlcoders] Keybind / prone Dear god. rant Sorry but, you said you knew c++ in another post.. Your code: mv-m_nOldButtons

Re: [hlcoders] Keybind / prone

2005-01-08 Thread Pavol Marko
www.cqc-gaming.com - Original Message - From: Jeffrey botman Broome [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com 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

Re: [hlcoders] Keybind / prone

2005-01-08 Thread r00t 3:16
set bInProne = true; The GoUnProne(); is then a true statement so it also executes. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: jeff broome [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Friday, January 07, 2005 9:14 PM Subject: Re: [hlcoders] Keybind

RE: [hlcoders] Keybind / prone

2005-01-08 Thread Tony \omega\ Sergi
: r00t 3:16 [mailto:[EMAIL PROTECTED] Sent: January 8, 2005 11:12 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Keybind / prone arggg... Ok maybe im an idiot and missing the obvious but I can not for the life of me get a working toggle for prone. if ( ( mv-m_nButtons IN_PRONE

Re: [hlcoders] Keybind / prone

2005-01-08 Thread r00t 3:16
@list.valvesoftware.com Sent: Saturday, January 08, 2005 11:17 PM Subject: RE: [hlcoders] Keybind / prone Heh. If (blah !prone) { } ELSE -- VERY IMPORTANT!! if (blah prone) { } you're calling both functions TWICE if the button is down. You also need to remove the button from mv-m_nButtons WHEN

Re: [hlcoders] Keybind / prone

2005-01-08 Thread Hasan Aljudy
11:17 PM Subject: RE: [hlcoders] Keybind / prone Heh. If (blah !prone) { } ELSE -- VERY IMPORTANT!! if (blah prone) { } you're calling both functions TWICE if the button is down. You also need to remove the button from mv-m_nButtons WHEN a toggle is set

Re: [hlcoders] Keybind / prone

2005-01-08 Thread r00t 3:16
- From: Hasan Aljudy [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 09, 2005 1:06 AM Subject: Re: [hlcoders] Keybind / prone I think you don't need to do all this .. simply put it in a ConCommand static ConCommand prone(prone, CC_Player_Prone); right above

Re: [hlcoders] Keybind / prone

2005-01-08 Thread Hasan Aljudy
Sent: Saturday, January 08, 2005 11:17 PM Subject: RE: [hlcoders] Keybind / prone Heh. If (blah !prone) { } ELSE -- VERY IMPORTANT!! if (blah prone) { } you're calling both functions TWICE if the button is down. You also need to remove

Re: [hlcoders] Keybind / prone

2005-01-08 Thread r00t 3:16
: Hasan Aljudy [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 09, 2005 2:02 AM Subject: Re: [hlcoders] Keybind / prone Wasn't this answered by someone already? put an else if On Sun, 9 Jan 2005 01:22:30 -0500, r00t 3:16 [EMAIL PROTECTED] wrote: Well that isn't the problem

Re: [hlcoders] Keybind / prone

2005-01-08 Thread Hasan Aljudy
AM Subject: Re: [hlcoders] Keybind / prone Wasn't this answered by someone already? put an else if On Sun, 9 Jan 2005 01:22:30 -0500, r00t 3:16 [EMAIL PROTECTED] wrote: Well that isn't the problem really. The prone code is being called etc .. The problem is the toggle on / off

Re: [hlcoders] Keybind / prone

2005-01-08 Thread r00t 3:16
- Original Message - From: Hasan Aljudy [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 09, 2005 2:25 AM Subject: Re: [hlcoders] Keybind / prone just use a ConCommand .. it works exactly the same way, just less hassle. On Sun, 9 Jan 2005 02:18:27 -0500, r00t 3:16

[hlcoders] Keybind / prone

2005-01-07 Thread r00t 3:16
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... I have the prone working, needs tweaked a bit but for the most part it works... r00t 3:16

Re: [hlcoders] Keybind / prone

2005-01-07 Thread r00t 3:16
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

Re: [hlcoders] Keybind / prone

2005-01-07 Thread jeff broome
On Fri, 7 Jan 2005 21:07:57 -0500, r00t 3:16 [EMAIL PROTECTED] wrote: Hmm, I added the following, to add the key. static ConCommand startprone(+prone, IN_ProneDown); static ConCommand endprone(-prone, IN_ProneUp); Well, take that out and add... static ConCommand toggleprone(prone,

Re: [hlcoders] Keybind / prone

2005-01-07 Thread r00t 3:16
Thanks I was looking for something like that ... Thanks again.. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: jeff broome [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Friday, January 07, 2005 9:14 PM Subject: Re: [hlcoders] Keybind / prone On Fri, 7 Jan