RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_CLOSEST_OBJECT_OF_TYPE

GET_CLOSEST_OBJECT_OF_TYPE

Returns the closest object of a specified type within a given radius from a specified position

OBJECTBuild 1207

Signature

lua
GetClosestObjectOfType(0.0, 0.0, 0.0, 0.0, GetHashKey("..."), true, true, true)
-- returns Object

Parameters

NameTypeDescription
float—
float—
float—
float—
Hash—
BOOL—
BOOL—
BOOL—

Usage

lua
GetClosestObjectOfType(0.0, 0.0, 0.0, 0.0, GetHashKey("..."), true, true, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details