AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   amx_exec (https://forums.alliedmods.net/showthread.php?t=355)

tnsk8er27 03-19-2004 22:13

amx_exec
 
1 Attachment(s)
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!!!!

BAILOPAN 03-19-2004 22:26

Hint: Don't put [PLUGIN] in the titles of your post please =P

tnsk8er27 03-19-2004 22:28

hahaha sry bailopan lol

*EDIT: i edited the names lol no more PLUGIN tags :-P

MagicShot 03-19-2004 22:35

hmm
 
Nice work toxic. good Job your your first plugin.. :shock:

tnsk8er27 03-19-2004 22:36

THx

CheesyPeteza 03-20-2004 09:28

Does amx_execclient and amx_execteam work?

Approved by Bailopan. :P

tnsk8er27 03-20-2004 13:13

yes...

CheesyPeteza 03-21-2004 05:55

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. :shock:

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.

_KaszpiR_ 04-05-2004 06:50

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

QuakerOates 04-13-2004 12:50

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


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

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