Page 1 of 1

Execute Client Commands (exec_client)

Posted: Mon Nov 22, 2021 8:24 am
by greenie
/*
*
* 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

get plugin
get source