|
Author
|
Message
|
|
Senior Member
Join Date: Aug 2008
Location: Lithuania
|

04-15-2009
, 10:33
Re: Vampire bug
|
#1
|
Quote:
Originally Posted by xPaw
PHP Code:
public death_event( ) { if( get_user_flags( id ) & ADMIN_ACCESS ) { new iKiller = read_data( 1 ); new iVictim = read_data( 2 ); if( vampir_active[killer] && iKiller != iVictim ) { set_user_health(iKiller, get_user_health(iKiller)+get_cvar_num("amx_vampire_hp")); client_print(iKiller, print_chat, "%L", LANG_PLAYER, "VAMPIRE", get_cvar_num("amx_vampire_hp"));
message_begin(MSG_ONE, get_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!
|
|
|
|