Raised This Month: $ Target: $400
 0% 

No bomb icon in scoreboard.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rudle
BANNED
Join Date: Mar 2008
Location: About to be sent to bant
Old 04-27-2008 , 16:25   Re: No bomb icon in scoreboard.
Reply With Quote #1

iFlags ~= SCOREATTRIB_BOMB should be iFlags == SCOREATTRIB_BOMB
rudle is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-27-2008 , 16:36   Re: No bomb icon in scoreboard.
Reply With Quote #2

Try this :

PHP Code:
#include <amxmodx>

#define SCOREATTRIB_BOMB            (1<<1)

public plugin_init()
{
    
register_plugin("No Bomb in Scorboard""1.0""ConnorMcLeod")

    
register_message(get_user_msgid("ScoreAttrib"), "Message_ScoreAttrib")
}

public 
Message_ScoreAttrib()
{
    new 
iFlags get_msg_arg_int(2)
    if( 
iFlags SCOREATTRIB_BOMB )
    {
        
iFlags &= ~SCOREATTRIB_BOMB
        set_msg_arg_int
(20iFlags)
    }

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 02:13.


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