Raised This Month: $ Target: $400
 0% 

sound not playing


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Wuu
Member
Join Date: Apr 2008
Old 05-15-2010 , 06:05   sound not playing
Reply With Quote #1

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

#define PLUGIN "Uoc"
#define VERSION "1.0"
#define AUTHOR "Wuu"

new userXp[33],userLv[33]
new 
msg1

public plugin_precache()
{
    
precache_sound("misc/hit.wav")
    
precache_sound("misc/kill.wav")
    
precache_sound("misc/levelup.wav")
    
precache_generic("sound/misc/menu.mp3")
}

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("DeathMsg""eDeath""a")
    
msg1 CreateHudSyncObj()
}

public 
client_connect(id) { 
    
client_cmd(id,"mp3 play sound/misc/menu")


public 
eDeath( )

    new 
eKiller read_data(1)
    new 
eVictim read_data(2)
    new 
eHeadshot read_data(3)
 
    if (
eKiller != eVictim) {
        
client_cmd(eKiller,"play misc/levelup")
        
set_hudmessage(2554300.6, -1.006.03.0)
        
ShowSyncHudMsg(eKillermsg1"Enemy Kill")
    } 
Why mp3 is playing but client_cmd(eKiller,"play misc/levelup") not?
i try client_cmd(eKiller,"spk misc/levelup") same...
Wuu is offline
 



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 03:42.


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