Raised This Month: $ Target: $400
 0% 

Removing "DEAD" flag on scoreboard (CS)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 11-18-2015 , 18:52   Re: Removing "DEAD" flag on scoreboard (CS)
Reply With Quote #8

Untested, but should work I guess
PHP Code:
#include <amxmodx>

#pragma semicolon 1

new PLUGIN[]  = "";
new 
AUTHOR[]  = "";
new 
VERSION[] = "0.00";

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_message(get_user_msgid("ScoreAttrib"), "msgScoreAttrib");
}

public 
msgScoreAttrib(message_idmessage_destid)
{
    
set_msg_arg_int(2ARG_LONGget_msg_arg_int(2) & ~(<< 0));

With that code, no player will ever have "DEAD" as status on scoreboard.
klippy 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 18:14.


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