Raised This Month: $ Target: $400
 0% 

blocking event death msgs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
padilha007
Senior Member
Join Date: Jul 2008
Old 06-02-2009 , 22:39   Re: blocking event death msgs
Reply With Quote #2

From [ZP] Round Draw Blast.

PHP Code:
{
    
// Blast sound
    
client_cmd(0"spk %s"sound_blast)
    
    static 
iddeathmsg_block
    
    
// Get current blocking state of the deathmsg
    
deathmsg_block get_msg_block(g_msgDeathMsg)
    
    
// Set it to blocked
    
set_msg_block(g_msgDeathMsgBLOCK_SET)
    
    
// "Eliminate" players
    
for (id 1id <= 32id++)
        if (
is_user_alive(id))
            
user_kill(idget_pcvar_num(cvar_keepfrags))
    
    
// Set the previous blocking state
    
set_msg_block(g_msgDeathMsgdeathmsg_block)

__________________

padilha007 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 13:53.


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