od razu przejdę do rzeczy. Chodzi mi o to aby informacje z tego pluginu wyświetlały się na środku ekranu u samej góry jak ktoś wejdzie na serwer i jak ktoś wychodzi. Za pomoc daję + ;]
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Hi" #define VERSION "1.0" #define AUTHOR "Sebi" new witam_on; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) witam_on = register_cvar("hi_wlaczony", "1") } public client_authorized(id) { if(get_pcvar_num(witam_on)) { new name[32], ip[16] get_user_name(id, name, 31) get_user_ip(id, ip, 15, 1) set_hudmessage(0, 255, 0, 0.02, 0.25, 2, 6.0, 5.0, 0.05, 1.0, 1) show_hudmessage(0, "%s wbija! ^nIP: %s", name, ip) } } public client_disconnect(id) { if(get_pcvar_num(witam_on)) { new name[32], ip[16] get_user_name(id, name, 31) get_user_ip(id, ip, 15, 1) set_hudmessage(0, 255, 0, 0.02, 0.25, 2, 6.0, 5.0, 0.05, 1.0, 1) show_hudmessage(0, "%s odszedl! ^nIP: %s", name, ip) } } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par } */