How to bind say command ?
Hello ,
I have applied a nanosuit script on my server . To access the nanosuit menu , we have to manually type "/nanosuit" every time . How can i make it so , that anyone who join the server and presses "t" key , automatically says "/nanosuit" ? thank u in advance ! :) |
Re: How to bind say command ?
A better way than changing the player's binds (which they might not be happy about) is to
PHP Code:
|
Re: How to bind say command ?
I think you can't catch impulse this way.
Correct way is register_impulse(201, "callback_function") |
Re: How to bind say command ?
Oh really? Well, if clcmd doesn't work.. :P
Only problem is register_impulse is an engine.inc native. EDIT: Connor's right, doesn't work.. If you aren't using engine, might I suggest another key, maybe 'c' (radio3)? |
Re: How to bind say command ?
Quote:
|
Re: How to bind say command ?
Quote:
Even if it were possible to register_clcmd an impulse, the function is just an example and I highly doubt it's actually called "NanosuitFunction". |
Re: How to bind say command ?
could anyone just give me a working sma .... i am a server owner and im sorry , but i dont even know the "s" of scripting .... so plz provide me with a .sma file which can do what i requested in first post
|
Re: How to bind say command ?
Next time, post in the requests thread not in Scripting Help.
Quote:
|
Re: How to bind say command ?
Quote:
|
Re: How to bind say command ?
Quote:
|
| All times are GMT -4. The time now is 02:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.