NETWORK

NETWORK_GET_ENTITY_FROM_OBJECT_ID

0x37D5F739FD494675

Signature

// NETWORK
int NETWORK_GET_ENTITY_FROM_OBJECT_ID(Any p0)

Parameters

Type Name
Any p0

Return type int

Build 505

Documentation

I've had this return the player's ped handle sometimes, but also other random entities. Whatever p0 is, it's at least not synced to other players. At least not all the time, some p0 values actually output the same entity, (different handle of course, but same entity). But another p0 value may return an entity for player x, but not for player y (it'll just return -1 even if the entity exists on both clients). Returns an entity handle or -1, value changes based on p0's value.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.