get use command.
how to get a user command? for exam :
if user use the command "+left" show a hud. i just need the code 4 get cmd. |
Re: get use command.
To catch buttons(+attack, -jump, etc.), you can use the FM_CmdStart forward or check the player's pev_buttons/pev_oldbutton at PreThink.
If something else then just get the first argument of the command at the client_command(id) forward. Just notice that a lot of client-sided commands cannot be hooked. |
Re: get use command.
something like this:
PHP Code:
|
Re: get use command.
Better to use FM_CmdStart.
|
Re: get use command.
:cry::cry::cry: ok... my PC is down.( virus )ill try later to catch +reload. :cry: & ty.
|
Re: get use command.
Code:
|
Re: get use command.
Quote:
|
Re: get use command.
Quote:
What means / does ~ ( tilda )? |
Re: get use command.
Quote:
|
Re: get use command.
Quote:
|
| All times are GMT -4. The time now is 09:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.