Quote:
Originally Posted by claudiuhks
PHP Code:
public HamTraceAttack( victim , attacker , Float:damage , Float:tr[3] , traceresult , dmgbits ) { if( !IsPlayer( attacker ) || !IsPlayer( victim ) || victim == attacker ) return HAM_IGNORED;
The victim is player always!
|
What ? I check if the attacker is a player, if the victim is a player too, and if the attacker is not a victim too. What is the problem ?
Quote:
Originally Posted by claudiuhks
PHP Code:
{ SetHamParamFloat( 3 , damage * 9999.9 ) }
Try to put a fix damage value because if there's much than the 32 bits limit the bugs does appear...
|
Okay, fixed.