Raised This Month: $51 Target: $400
 12% 

Admin login/connect sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 09:34   Admin login/connect sound
Reply With Quote #1

Hello every1 Please help me. I searching plugin when admin comming to server playing that admins owns music. I don't need thats hudmessages theres wrote like "*** admin joined to server" only admin music then he connecting to server. Maybe any1 can create that plugin In this forum i find some plugins but they don't worked. I need plugin for cs 1.6 NON-Steam because all friends playing non-steam. Thanx for help, and forgive me for bad english
pur3 is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-16-2009 , 09:43   Re: Admin login/connect sound
Reply With Quote #2

I'm sure there is a plugin like that. You should have used search.

This should work.
Code:
#include <amxmodx>   #define FLAG_ADMIN ADMIN_LEVEL_A   new g_AdminMusic[] = "sound/mp3/admin.mp3";   public plugin_precache() precache_generic(g_AdminMusic);   public client_authorized(Cl) {         if (!(get_user_flags(Cl) & FLAG_ADMIN)) return;           new PlayCmd[9];           switch (g_AdminMusic[strlen(g_AdminMusic) - 1])         {                 case '3': PlayCmd = "mp3 play";                 case 'v': PlayCmd = "spk";                   default: return;         }           client_cmd(0, "%s ^"%s^"", PlayCmd, g_AdminMusic); }
__________________
hleV is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 10:09   Re: Admin login/connect sound
Reply With Quote #3

i think this not that plugin about i talk. I try tu explane. Example ir Admin1 Admin2 and Admin3. All admins has his own intro example Admin1_intro Admin2_intro and Admin3_intro. Intro music files are in sounds/Your favorite direcory. And then admin become to server all players hearing his own music. U understand about what about i speaking?
pur3 is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-16-2009 , 10:16   Re: Admin login/connect sound
Reply With Quote #4

You will have to tell me by what to check which admin is it - Admin1, Admin2 or Admin3. IP? SteamID? Name?
__________________
hleV is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 10:19   Re: Admin login/connect sound
Reply With Quote #5

name
pur3 is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 10:30   Re: Admin login/connect sound
Reply With Quote #6

i think that plugin must have *.ini or *.cfg file. Whereat will wrote for example "admin_nick" "sound/misc/song.mp3/wav"
"admin1_nick1" "sound/misc/song1.mp3/wav"
pur3 is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-16-2009 , 10:30   Re: Admin login/connect sound
Reply With Quote #7

Code:
#include <amxmodx>   #define FLAG_ADMIN ADMIN_LEVEL_A   new g_AdminNames[][] = {         "hleV",         "pur3",         "BAILOPAN" };   new g_AdminMusic[][] = {         "sound/mp3/hlev.mp3",         "sound/mp3/pur3.mp3",         "sound/wav/bailopan.wav" };   public plugin_precache()         for (new Sound = 0; Sound < sizeof(g_AdminMusic); Sound++)                 precache_generic(g_AdminMusic[Sound]);   public plugin_init()         register_plugin("Admin Connect Music", "1.1", "hleV");   public client_authorized(Cl) {         if (!(get_user_flags(Cl) & FLAG_ADMIN)) return;           new PlayCmd[9], Name[32];         get_user_name(Cl, Name, 31);           for (new Num = 0; Num < sizeof(g_AdminNames); Num++) if (equal(Name, g_AdminNames[Num]))         {                                switch (g_AdminMusic[Num][strlen(g_AdminMusic[Num]) - 1])                 {                         case '3': PlayCmd = "mp3 play";                         case 'v': PlayCmd = "spk";                           default: break;                 }                   client_cmd(0, "%s ^"%s^"", PlayCmd, g_AdminMusic);                   break;         } }
__________________
hleV is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 10:33   Re: Admin login/connect sound
Reply With Quote #8

very very thanx
pur3 is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 10:45   Re: Admin login/connect sound
Reply With Quote #9

another question maybe you know with what program i can do sounds like ut killstreak adv or ultimate sounds i mean i want create sounds like what plugin with same sound effects
pur3 is offline
pur3
Junior Member
Join Date: Apr 2009
Old 04-16-2009 , 11:06   Re: Admin login/connect sound
Reply With Quote #10

Hlev that last plugin not bad but i don't hear myself music then i conneting/loading to server...
pur3 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode