Raised This Month: $ Target: $400
 0% 

Help with Amx_Exec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
V I R U S
Senior Member
Join Date: Jul 2004
Location: Russia / Germany
Old 06-09-2006 , 14:18   Help with Amx_Exec
Reply With Quote #1

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!
V I R U S is offline
Send a message via ICQ to V I R U S
beezkneez2006
Senior Member
Join Date: Feb 2006
Location: USA
Old 06-09-2006 , 14:33  
Reply With Quote #2

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..
__________________
Code:
#include <gabenmodx>
http://www.czclansp.com
CSDM 2.10 + amxmodx 1.75
72.36.157.100:27015
Fast download 20 man.
beezkneez2006 is offline
Send a message via AIM to beezkneez2006
V I R U S
Senior Member
Join Date: Jul 2004
Location: Russia / Germany
Old 06-10-2006 , 22:33  
Reply With Quote #3

Nope. That isn't what i need.
V I R U S is offline
Send a message via ICQ to V I R U S
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 06-11-2006 , 08:54  
Reply With Quote #4

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,
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
V I R U S
Senior Member
Join Date: Jul 2004
Location: Russia / Germany
Old 06-11-2006 , 10:09  
Reply With Quote #5

B is right.

I just want to type amx_punish NAME instead of typing "amx_exec player "bind mouse1 punishme" " every time...
V I R U S is offline
Send a message via ICQ to V I R U S
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 06-11-2006 , 14:21  
Reply With Quote #6

have you ever read the rules? no slow hackin or anything about slowhackin
k007 is offline
Send a message via MSN to k007
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 06-12-2006 , 12:14  
Reply With Quote #7

then make a plugin which does that , kinda gay but oh well... You can rip the code from the amx_super Quit Assholes code
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
V I R U S
Senior Member
Join Date: Jul 2004
Location: Russia / Germany
Old 06-13-2006 , 11:40  
Reply With Quote #8

Thats not the slowhackin, thats punishment against the foolasses...
V I R U S is offline
Send a message via ICQ to V I R U S
V I R U S
Senior Member
Join Date: Jul 2004
Location: Russia / Germany
Old 06-13-2006 , 11:50  
Reply With Quote #9

So can anyone help me plz?
V I R U S is offline
Send a message via ICQ to V I R U S
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 06-13-2006 , 12:51  
Reply With Quote #10

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
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode