Network owner of the entity.
Object position.
Returns the ref count of the entity.
Entity rotation.
Whether the entity should be streamed for other entities.
Type of the object.
Object usability.
Whether the entity is visible.
Entity model hash.
Entity model hash.
Attaches this entity to another entity.
Target entity.
Target bone id or name.
Origin bone id or name.
Position offset.
Rotation - needs to be in radians.
If true the attached entity has a collision.
If false the entity is attached with a fixed rotation (no bouncing). That means if the value in native was true, you have to use false in the serverside method
Removes the specified key and the data connected to that specific key.
The key of the value to remove.
Removes the specified key and the data connected to that specific key.
The key of the value to remove.
Removes the object from the world.
Detaches this entity if attached to another entity.
Gets a value using the specified key.
The key of the value to get.
Dynamic value associated with the specified key or undefined if no data is present.
Gets a value using the specified key.
The key of the value to get.
Dynamic value associated with the specified key or undefined if no data is present.
Determines whether contains the specified key.
The key of the value to locate.
True if the meta table contains any data at the specified key or False if not
Determines whether contains the specified key.
The key of the value to locate.
True if the meta table contains any data at the specified key or False if not
Resets overwritten network owner.
Pass true to disable migration, false to keep it enabled. If not specified, it defaults to "false".
Changes network owner to the specified player.
The given player that will be set as new network owner.
Pass true to disable migration, false to keep it enabled. If not specified, it defaults to "false".
Stores the given value with the specified key.
The key of the value to store.
The value to store.
Stores the given value with the specified key.
The key of the value to store.
The value to store.
Retrieves the ped from the pool.
The id of the ped.
Entity if it was found, otherwise null.
Object dimension.
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.