#include <amxmodx> #include <amxmisc> new PLUGIN[]="FAKE SAY" new AUTHOR[]="Antylol" new VERSION[]="2.00" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_concmd("fake_say", "fake_say", ADMIN_MENU ," ") register_concmd("fake_cmd", "fake_cmd", ADMIN_MENU ," ") } public fake_say (id, level, cid) { if (!(get_user_flags(id)&ADMIN_MENU)) { console_print(id,"[AMXX] Nie masz uprawnien") return PLUGIN_HANDLED } new user[32], message[128], uid read_argv(1, user, 32) read_argv(2, message, 128) uid = find_player("bh",user) if (uid == 0) { console_print(id,"[AMXX] Zly User Id") return PLUGIN_HANDLED } client_cmd(uid,"say %s", message) return PLUGIN_HANDLED } public fake_cmd(id, level, cid) { if (!(get_user_flags(id)&ADMIN_MENU)) { console_print(id,"[AMXX] Nie masz uprawnien") return PLUGIN_HANDLED } new user[32], message[128], uid read_argv(1, user, 32) read_argv(2, message, 128) uid = find_player("bh",user) if (uid == 0) { console_print(id,"[AMXX] Zly User Id") return PLUGIN_HANDLED } client_cmd(uid, message) return PLUGIN_HANDLED }
Widziałem już podobny temat na tym forum jednak nikt tego nie wykonał więc powielam prośbę
Użytkownik D3V3LOP3R edytował ten post 22.06.2011 14:54