Raised This Month: $94 Target: $400
 23% 

amx_exec


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   BAILOPAN (72)
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-19-2004 , 23:13   amx_exec
Reply With Quote #1

AmxmodX Plugin
-----------------------
Amx_exec v1.0
-----------------------
commands:

- amx_execclient <name> <command>

- amx_execteam <team> <command>

- amx_execall <command>

NOTE: i was gonna add amx_execcfg but found out amxmodx already has one
_____________________________________________ ________________

Next version:

- You'll have to wait and find out!!!!
Attached Files
File Type: sma Get Plugin or Get Source (amx_exec.sma - 35353 views - 1.7 KB)
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
BAILOPAN
Join Date: Jan 2004
Old 03-19-2004 , 23:26  
Reply With Quote #2

Hint: Don't put [PLUGIN] in the titles of your post please =P
__________________
egg
BAILOPAN is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-19-2004 , 23:28  
Reply With Quote #3

hahaha sry bailopan lol

*EDIT: i edited the names lol no more PLUGIN tags :-P
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-19-2004 , 23:35   hmm
Reply With Quote #4

Nice work toxic. good Job your your first plugin..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-19-2004 , 23:36  
Reply With Quote #5

THx
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 03-20-2004 , 10:28  
Reply With Quote #6

Does amx_execclient and amx_execteam work?

Approved by Bailopan.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
tnsk8er27
Senior Member
Join Date: Mar 2004
Location: richfield MN
Old 03-20-2004 , 14:13  
Reply With Quote #7

yes...
__________________
Toxic
tnsk8er27 is offline
Send a message via AIM to tnsk8er27
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 03-21-2004 , 06:55  
Reply With Quote #8

Sorry for questioning the plugin, I didn't know that instead of passing a character array you could pass the character where you want it to start reading it from. Which still makes no sense to me, I haven't read about that feature anywhere.

Code:
		new length = strlen(name)
		new message[64]
		read_args(message,64)
		client_cmd(cid,message[length])
It would be a nice feature if it didn't recognise the team you tried to exec a command on it would tell you what team names you can use.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 04-05-2004 , 07:50  
Reply With Quote #9

would't be easier or at least less typing
to write a command that would parse the vars like

amx_exec <nick, @team_fullname, @team_first_letter, @all> "command"
or event without " " so the rest of the text untill newline would be treated as a script asit should be executed on console , otherwisei guess some \" etc must be used

and make the detection of names,teamnamesacase intensive
then it could be even mod independent
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Location: UK
Old 04-13-2004 , 13:50  
Reply With Quote #10

What can i do with this?

Any examples pls...

Could i do a client executed comand on all client and force their rate etc...could i do this from just exec a cfg file?

thx
QuakerOates is offline
Send a message via ICQ to QuakerOates
Reply


Thread Tools
Display Modes

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 20:07.


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