Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
Returns whether the entity is spawned in the game world.
Network owner of the entity.
Object position.
Returns the ref count of the entity.
The serverside id of this entity.
Entity rotation in radians
Internal game id that can be used in native calls
Type of the object.
Object usability.
Array with all entities.
Hash of entity model
Removes the object from the world.
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
Gets the base object with the given type and local id
Retrieves the entity from the pool.
The script id of the entity.
Entity if it was found, otherwise null.
Object dimension.
Check https://docs.altv.mp/articles/dimensions.html to understand how it works.