FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: CFXAPI set: clientGame: gta5editImprove

GET_ENTITY_ADDRESS

0x9A3144BC
// GetEntityAddress
Any* GET_ENTITY_ADDRESS(Entity entity);
Parameters:
  • entity:

    The handle of the entity to get the address of.

Returns:

A pointer containing the memory address of the entity.

Experimental: This native may be altered or removed in future versions of CitizenFX without warning.

Returns the memory address of an entity.

This native is intended for singleplayer debugging, and may not be available during multiplayer.

Privacy
•
Cookie Policy
•
Cookie Settings
GET_ALL_PEDS()
GET_ALL_ROPES()
GET_ALL_TRACK_JUNCTIONS()
GET_ALL_VEHICLE_MODELS()
GET_ALL_VEHICLES()
GET_AMBIENT_PED_RANGE_MULTIPLIER()
GET_AMBIENT_VEHICLE_RANGE_MULTIPLIER()
GET_CALMING_QUAD_AT_COORDS(float x, float y)
GET_CALMING_QUAD_BOUNDS(int waterQuad, int* minX, int* minY, int* maxX, int* maxY)
GET_CALMING_QUAD_COUNT()
GET_CALMING_QUAD_DAMPENING(int waterQuad, float* calmingQuadDampening)
GET_CAM_MATRIX(Cam camera, Vector3* rightVector, Vector3* forwardVector, Vector3* upVector, Vector3* position)
GET_CLOSEST_TRACK_NODES(Vector3 position, float radius)
GET_CONSOLE_BUFFER()
GET_CONVAR(char* varName, char* default_)
GET_CONVAR_BOOL(char* varName, BOOL defaultValue)
GET_CONVAR_FLOAT(char* varName, float defaultValue)
GET_CONVAR_INT(char* varName, int default_)
GET_CURRENT_GAME_NAME()
GET_CURRENT_PED_WEAPON(Ped ped)
GET_CURRENT_RESOURCE_NAME()
GET_CURRENT_SERVER_ENDPOINT()
GET_DUI_HANDLE(long duiObject)
GET_ENTITIES_IN_RADIUS(float x, float y, float z, float radius, int entityType, BOOL sortByDistance, object models)
GET_ENTITY_ADDRESS(Entity entity)
GET_ENTITY_ARCHETYPE_NAME(Entity entity)
GET_ENTITY_ATTACHED_TO(Entity entity)
GET_ENTITY_COLLISION_DISABLED(Entity entity)
GET_ENTITY_COORDS(Entity entity)
GET_ENTITY_FROM_STATE_BAG_NAME(char* bagName)
GET_ENTITY_HEADING(Entity entity)
GET_ENTITY_HEALTH(Entity entity)
GET_ENTITY_INDEX_FROM_MAPDATA(int mapdata, int entity)
GET_ENTITY_MAPDATA_OWNER(Entity entity, int* mapdataHandle, int* entityHandle)
GET_ENTITY_MAX_HEALTH(Entity entity)