View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-21-2009 , 20:14   Re: Damage & Death Effect v1.2 Updated
Reply With Quote #8

Some suggestions :

fw_Damage() : is_user_connected should be useless here ; try to avoir to return something ; Why HAM_SUPERCEDE ? ; Use MSG_ONE_UNRELIABLE ; Something like would be more appropriate :

Code:
public fw_Damage  ( victim, attacker, Float:damage ) {     if ( victim == attacker && damage > 0 && get_pcvar_num( cvar_on ) )     {         //     } }

fw_Killed() : Make a define with 0x0001 : #define FFADE_OUT 0x0001
Arkshine is offline