RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_ENTITY_COORDS

GET_ENTITY_COORDS

Gets the current coordinates for a specified entity. `entity` = The entity to get the coordinates from. `alive` = Unused by the game, potentially used by debug builds in order to assert whether or not an entity was alive. If entity is a ped and it's in a vehicle or on a mount the coords of that entity are returned. Set 'realCoords' to true when you need the true ped coords.

ENTITYBuild 1207

Signature

lua
GetEntityCoords(entity, true, true)
-- returns Vector3

Parameters

NameTypeDescription
Entity—
BOOL—
BOOL—

Usage

lua
GetEntityCoords(entity, 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