shoot in RangeOfPoint
#6

Quote:
Originally Posted by Wiki-samp
Посмотреть сообщение
This callback was added in SA-MP 0.3z and will not work in earlier versions!
You must use version 0.3z or greater in order to use this, you could fix that by adding a "forward name" but would not call.

You could also try with this:

In 0.3z or news versions-.

PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponidbodypart)
{
    if(
IsPlayerInRangeOfPoint(playerid110.0,-1489.6556751.82007.2345))
    {
        
SetPlayerHealth(playerid0.0);
    }
    return 
true;

In minor versions to 0.3z(0.3x.. -).

PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponid)
{
    if(
IsPlayerInRangeOfPoint(playerid110.0,-1489.6556751.82007.2345))
    {
        
SetPlayerHealth(playerid0.0);
    }
    return 
true;

Reply


Messages In This Thread
shoot in RangeOfPoint - by s3ek - 07.03.2015, 16:53
Re: shoot in RangeOfPoint - by ATGOggy - 07.03.2015, 16:59
Re: shoot in RangeOfPoint - by s3ek - 07.03.2015, 17:12
Re: shoot in RangeOfPoint - by Abagail - 07.03.2015, 17:25
Re: shoot in RangeOfPoint - by s3ek - 07.03.2015, 17:33
Respuesta: shoot in RangeOfPoint - by JuanStone - 07.03.2015, 17:33
Re: shoot in RangeOfPoint - by s3ek - 07.03.2015, 18:03
Re: shoot in RangeOfPoint - by s3ek - 07.03.2015, 18:38
Respuesta: shoot in RangeOfPoint - by JuanStone - 08.03.2015, 01:27
AW: Respuesta: shoot in RangeOfPoint - by BiosMarcel - 08.03.2015, 01:39

Forum Jump:


Users browsing this thread: 2 Guest(s)