Raised This Month: $ Target: $400
 0% 

bombdefsound help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Amonel
Senior Member
Join Date: May 2009
Old 05-30-2010 , 09:36   bombdefsound help
Reply With Quote #1

PHP Code:
#include <amxmodx>

#define PLUGIN    "bomb_defused"
#define AUTHOR    "AmoneL"
#define VERSION    "1.0"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_message(get_user_msgid("TextMsg"), "eTextMsg")
}

public 
eTextMsg(msg_idmsg_destmsg_entity)
{
    static 
szMessage[64]
    
get_msg_arg_string(2szMessage63)
    if(
equali(szMessage"#Bomb_Defused"))
        
set_msg_arg_string(2"B o m b   d e f u s e d !")

i want to make players exec sound "radio/bombdef.wav", i tried cliend_cmd spk.. but doesn't work

also using http://forums.alliedmods.net/showthread.php?t=98643 will freeze my server
Amonel 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 05:25.


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