Raised This Month: $ Target: $400
 0% 

tapping the loading


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klysman07
Senior Member
Join Date: Oct 2011
Old 07-01-2012 , 11:29   tapping the loading
Reply With Quote #1

a plugin that plays music in loading

plus it just starts playing after that I'm playing.

someone can put in to play and then loading that enters the server stop the music.


PHP Code:
#include <amxmod>
#include <amxmisc>

new iArray[33]

public 
plugin_init() 
{
 
register_plugin("SoundManager","1.00","chaveiro")
 
register_event("ScreenFade","screenfade","b")
 new 
i
 
for (i=0;i<=32;i++)
 {
    
iArray[i]=0
 
}
}
public 
client_putinserver(id
{
 
iArray[id]=1
}
public 
screenfade(id)
{
 if (
iArray[id]==1)
 {
    
iArray[id]=0
    client_cmd
(id,"spk sound/pitbullevery.wav")
 }
}
public 
plugin_precache()
{
 
precache_sound("pitbullevery.wav")

klysman07 is offline
Reply


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 15:09.


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