Raised This Month: $ Target: $400
 0% 

Bomb Defuse


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Amonel
Senior Member
Join Date: May 2009
Old 05-05-2010 , 18:58   Bomb Defuse
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"))
        
client_cmd(0"spk ^"radio/bombdef^"")
        
set_msg_arg_string(2"B o m b   d e f u s e d !")

What should i do in order to prevent playing the sound again and again...
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 03:34.


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