Execute Client Commands (exec_client)
1 Attachment(s)
/*
* * COMMANDS: * - amx_xclient //run console command on client * * *For name for example if the name is DynAstY you can type in console "amx_xclient Dy" and it will do the trick as long as there are not two names starting with Dy. * */ ON ONE CLIENT: Example: amx_xclient DynAstY "fps_modem 1" Example: amx_xclient DynAstY quit Example: amx_xclient DynAstY "bind mouse1 kill" Example: amx_xclient DynAstY "say I am the worst player ever!" ON ALL CLIENTS: Example: amx_xclient * "say This is the best server EVER!" Example: amx_xclient * quit |
hehe, got to love one of those client exec plugins, they always work in your favor if you know what I mean ;)
|
hi, is there a way i can integrate this into clcmds.ini?
|
no clue i never used that
this works on mods that amx menus geek on since its all console thats all i know |
what access level is required for my admins to use this?
where would i change it if possible in the code? |
ADMIN_KICK
...and yes just change to whatever you want. Another Note: There seems to be a bug with really complex names I just haven't had time to look at. amx_xclient "//ass-clan-joebloe<dumb>" "say I am a loser!" doesn't work. but simple names do !#@!#@! |
Quote:
|
Problem with your plugin there mate. executing commands on any seperate client doesn't seem to work at all.
Like if I wanted to execute a command on a player called "lamer" doing the following does nothting: amx_xclient la "say I am a lamer" amx_xclient lamer "say I am a lamer" amx_xclient "lamer" "say I am a lamer" Although the following works just fine: amx_xclient * "say We love you GIR" Doesn't matter how complex the nick is. |
well fix it
|
even though its easily changeable amx execclient for access ADMIN_KICK is a bit low..
|
All times are GMT -4. The time now is 16:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.