Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
I have a good feeling this isn't possible but it's worth a shot. Is it possible, for example, to force a player to use\execute MOUSE1?
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
How do you know what a player has MOUSE1 bound to?
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
Quote:
client_cmd(id, +attack) not to press a key but yep to accion a comand (so, do what a key can do) |
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
Quote:
Quote:
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
Quote:
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
Quote:
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
You can't.
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
mmmm and what with trying this
PHP Code:
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
Quote:
Quote:
|
Re: Calling a players bound key\mouse. (MOUSE1, MOUSE2 etc)
in a client's prethink, get their pev_button, if has the bit for IN_ATTACK they are starting to attack, if pev_oldbutton has the bit IN_ATTACK, they are holding the attack button.
or at least that's what I thought... |
| All times are GMT -4. The time now is 01:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.