View Single Post
eXtrem
Member
Join Date: Jul 2011
Old 08-01-2011 , 05:06   Re: Mortal Headshot v0.0.1
Reply With Quote #5

Quote:
Originally Posted by claudiuhks View Post
PHP Code:
public HamTraceAttackvictim attacker Float:damage Float:tr[3] , traceresult dmgbits )
{
    if( !
IsPlayerattacker ) || !IsPlayervictim ) || 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 View Post
PHP Code:
    {
        
SetHamParamFloatdamage 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.
eXtrem is offline