[NEED] IsVehicleNearToPos
#2

This will only work for 0.3:

pawn Код:
public IsPlayerInRangeOfVehicle(playerid, vehicleid, radius)
{
    new Float: CarX, Float: CarY, Float: CarZ;
    GetVehiclePos(playerid, CarX, CarY, CarZ);
    if(IsPlayerInRangeOfPoint(playerid, radius, CarX, CarY, CarZ))
    {
      return 1;
    }
    else
    {
        return 0;
    }
}
Reply


Messages In This Thread
[NEED] IsVehicleNearToPos - by silvan - 25.09.2009, 10:47
Re: [NEED] IsVehicleNearToPos - by Calgon - 25.09.2009, 10:50
Re: [NEED] IsVehicleNearToPos - by silvan - 25.09.2009, 11:08
Re: [NEED] IsVehicleNearToPos - by virspector - 25.09.2009, 12:43
Re: [NEED] IsVehicleNearToPos - by virspector - 25.09.2009, 12:51
Re: [NEED] IsVehicleNearToPos - by silvan - 25.09.2009, 12:52
Re: [NEED] IsVehicleNearToPos - by Sergei - 25.09.2009, 13:20
Re: [NEED] IsVehicleNearToPos - by Google63 - 25.09.2009, 13:48
Re: [NEED] IsVehicleNearToPos - by Calgon - 25.09.2009, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)