1. Auto_raspuns l am numit eu ! Orice cuvant care il scrii in chat iti da raspuns-ul ala ideea e ca eu vreau doar daca scrie aim, codat, etc
/* Plugin generated by AMXX-Studio */ #include < amxmodx > #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "Ciprian" public plugin_init ( ) { register_plugin ( PLUGIN, VERSION, AUTHOR ); register_clcmd ( "say", "HookSay" ); register_clcmd ( "say_team", "HookSay" ); } public HookSay ( id ) { static s_Args[ 192 ]; read_args ( s_Args, charsmax ( s_Args ) ); remove_quotes ( s_Args ); if ( containi ( s_Args, "codat" ) || containi ( s_Args, "cod" ) || containi ( s_Args, "aim" ) || containi ( s_Args, "wall" ) ) { client_print ( id, print_chat, "*** Pentru a anunta un codat folositi say_team @ mesaj ex: u@ nume codat" ); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; }
Edited by ucigasu, 17 February 2019 - 04:09 PM.