Help a bit?
#2

How do you check where the player is aiming at?

You should use this include, I think https://sampforum.blast.hk/showthread.php?tid=195439.

And smth like this:

Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
 new Float:Health[2];
    GetPlayerHealth(Target, Health[0]);
    GetPlayerArmour(Target,Health[1]);
    if(GetPlayerWeapon(Shooter) == 24)
    {
        if(H[1] > 0) return SetPlayerArmour(Target,0);
        SetPlayerHealth(Target, H[0]-100);
    }
}
Hope that helps
Reply


Messages In This Thread
Help a bit? - by N0FeaR - 15.08.2012, 08:57
Re: Help a bit? - by SaYrOn - 15.08.2012, 10:18
Re: Help a bit? - by JaKe Elite - 15.08.2012, 10:21
Re: Help a bit? - by SaYrOn - 15.08.2012, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)