Vehicle::isCopVehicleInArea3d

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Usage:

public bool isCopInRange(Vector3 Location, float Range)
{
return Function.Call<bool>(Hash.IS_COP_PED_IN_AREA_3D, Location.X - Range, Location.Y - Range, Location.Z - Range, Location.X + Range, Location.Y + Range, Location.Z + Range);
}

Syntax

mp.game.vehicle.isCopVehicleInArea3d(x1, x2, y1, y2, z1, z2);

Required Arguments

  • x1: float
  • x2: float
  • y1: float
  • y2: float
  • z1: float
  • z2: float

Return value

  • Boolean

Example

// todo

See also