Raised This Month: $ Target: $400
 0% 

Vampire bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 04-15-2009 , 10:33   Re: Vampire bug
Reply With Quote #1

Quote:
Originally Posted by xPaw View Post
PHP Code:
public death_event( ) {
    if( 
get_user_flagsid ) & ADMIN_ACCESS ) {
        new 
iKiller read_data);
        new 
iVictim read_data);
        
        if( 
vampir_active[killer] && iKiller != iVictim ) {
            
set_user_health(iKillerget_user_health(iKiller)+get_cvar_num("amx_vampire_hp"));
            
client_print(iKillerprint_chat"%L"LANG_PLAYER"VAMPIRE"get_cvar_num("amx_vampire_hp"));

            
message_begin(MSG_ONEget_user_msgid("ScreenFade"), _iKiller);
            
write_short(1<<10);
            
write_short(1<<10);
            
write_short(0x0000);
            
write_byte(0);
            
write_byte(0);
            
write_byte(200);
            
write_byte(75);
            
message_end();
        }
    }

Thank you works fine!
Debesėlis 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:28.


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