Raised This Month: $ Target: $400
 0% 

Damage Hud Death


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 05-08-2016 , 17:01   Re: Damage Hud Death
Reply With Quote #3

lol..
You have csstats natives , no need to count by yourself ...

PHP Code:
#include <amxmodx>
#include <csstats>

public plugin_init() 
{
    
register_event("DeathMsg""Morte""a");
}

public 
Morte()
{
    new 
morto read_data(2)
    
    if(!
is_user_connected(morto)) return;
    
    new 
Stats[8],Body[8];
    
get_user_vstats(morto0StatsBody);
    
    
set_hudmessage(2550,01.01.000.01.0 0.10.00.0, -1);
    
show_hudmessage(morto"[STATS] You did %d damage."Stats[6]);
    


Last edited by siriusmd99; 05-08-2016 at 17:01.
siriusmd99 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:45.


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