Raised This Month: $ Target: $400
 0% 

Admin Join-Sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
The-56k-LaggA
Senior Member
Join Date: Apr 2004
Location: Germany, Hanover
Old 12-09-2011 , 18:52   Re: Admin Join-Sound
#23

n kleiner gedanken ansatz



die zeile ganz nach oben:
new spiele_adminsound_ab = 1


und datt in die funktion public client_putinserver(id) :
wenn(spiele_adminsound_ab = 1){
Code:
    new steamid[35]     get_user_authid(id, steamid, 34)         if(!strlen(steamid))         return PLUGIN_CONTINUE         sounds[id] = ""         for(new i=0;i<num_users;i++)     {         if(equali(steam_names[i][0], steamid))         {             formatex(sounds[id], 31, "%s", steam_names[i][1])             client_cmd(0, "mp3 play %s", sounds[id])         }     }
spiele_adminsound_ab = 0
set_task_10sekunden(spiele_adminsound_ab 1)
}

Last edited by The-56k-LaggA; 12-09-2011 at 19:06.
The-56k-LaggA is offline
Send a message via ICQ to The-56k-LaggA
 


Thread Tools
Display Modes

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 07:50.


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