Raised This Month: $ Target: $400
 0% 

Spawn Health Bug Fix v2.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 10-29-2010 , 17:58   Re: [AMXX] Life MSG
Reply With Quote #11

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>

new hp

public 
plugin_init()
{
    
register_plugin("HP Bug Fix""1.0","Hattrick");
    
RegisterHam(Ham_Spawn"player""AtSpawn"1);
    
    
hp get_user_msgid("Health");
}

public 
AtSpawn(id)
{
    if(!
is_user_alive(id))
        return;
    
    
message_begin(MSG_ONEhp_id);
    
write_byte(pev(idpev_health));
    
message_end();

Better a bit.
__________________
Join US - custom Zombie Server - Custom Addons:




Last edited by Sn!ff3r; 10-29-2010 at 18:01.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
 



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 10:08.


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