Help with Amx_Exec
Hi all!
I have one please to guru's here, who can possibly help me. All of you of cource know plugin amx_exec. How can i make e.g amx_punish or amx_blahblah to execute some commands which i define on some client. E.g if i write in console amx_blahblah it will execute rid of commands which i of cource define in config or plugin on one client. Thx all! |
well if you want to exec a config, you can have a .cfg in your czero folder of the server and have it named "blahblah.cfg"
then in consol you could type amx_rcon exec blahblah.cfg and it will do the config.. |
Nope. That isn't what i need.
|
I think he means either:
A. amx_punish player Punishes player or B. amx_exec player "bind mouse1 punishme" When player presses the mouse button, (s)he is punished, |
B is right.
I just want to type amx_punish NAME instead of typing "amx_exec player "bind mouse1 punishme" " every time... |
have you ever read the rules? no slow hackin or anything about slowhackin
|
then make a plugin which does that :P, kinda gay but oh well... You can rip the code from the amx_super Quit Assholes code
|
Thats not the slowhackin, thats punishment against the foolasses...
|
So can anyone help me plz?
|
just steal code from here and there that does your punish when you do amx_punish asshole which executes this on their local cilent "bind mouse1 punishme"
and which registers that when punishme is said you're slayed or whatever... amx_exec dude "bind mouse1 +kill" is even possible... but I wouldnt advise it |
| All times are GMT -4. The time now is 08:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.