RSSy MYGO.pl Opublikowano Luty 14, 2021 o 04:12 RSSy Udostępnij Opublikowano Luty 14, 2021 o 04:12 I wanted help to make it work with more than 2 players with different sounds. PHP Code: #include < amxmodx >#include < amxmisc > #define PLUGIN "Entrada Admin HUD + Sound"#define VERSION "1.0"#define AUTHOR "Not.Exactly" public plugin_init( ) { register_plugin( PLUGIN, VERSION, AUTHOR );} public plugin_precache( ) precache_sound("misc/MD.wav")public client_putinserver(id) set_task( 0.3, "My_Function", id )public My_Function( id ){ if(get_user_flags(id) & ADMIN_LEVEL_G) { new name[32]; get_user_name(id, name, sizeof name - 1); set_hudmessage(0, 255, 0, -1.0, -1.0) show_hudmessage(0, "El dueno %s Entro al servidor!", name); client_cmd(0, "spk misc/MD"); } else if(get_user_flags(id) & ADMIN_LEVEL_H) { new name[32]; get_user_name(id, name, sizeof name - 1); set_hudmessage(0, 0, 255, 0.30, 0.40, 0, 6.0, 12.0); show_hudmessage(0, "The Admin %s Entro al Servidor!", name); }} Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi