local fn = _gn(0xADCDE75E1C60F32D)
--- The BOOL parameters that are documented have not been confirmed. They are just documented from what I've found during testing. They may not work as expected in all cases.
-- @param x X coordinate of the position to check.
-- @param y Y coordinate of the position to check.
-- @param z Z coordinate of the position to check.
-- @param range The range, seems to not be very accurate during testing.
-- @param p4 Unknown, when set to true it seems to always return true no matter what I try.
-- @param checkVehicles Check for any vehicles in that area.
-- @param checkPeds Check for any peds in that area.
-- @param p7 Unknown.
-- @param p8 Unknown.
-- @param ignoreEntity This entity will be ignored if it's in the area. Set to 0 if you don't want to exclude any entities.
-- @param p10 Unknown.
-- @return Returns true if there is anything in that location matching the provided parameters.
function Global.IsPositionOccupied(x, y, z, range, p4, checkVehicles, checkPeds, p7, p8, ignoreEntity, p10)
	return fn(x, y, z, range, p4, checkVehicles, checkPeds, p7, p8, ignoreEntity, p10, _r)
end
