Object dimension.
Whether the object is affected by gravity.
Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
Returns whether the entity is spawned in the game world.
The distance at which the LOD model of the object starts being applied.
Network owner of the entity.
Freeze the object on the position
Returns the ref count of the entity.
The serverside id of this entity.
Internal game id that can be used in native calls
Type of the object.
Object usability.
All objects created by the game. For example, a weapon item in the player's hand or a bag of rubbish in the street.
Attaches the object to another entity.
Entity or scriptID of the entity the object should be attached to.
Bone index of the entity to attach to. (-1 for entity center).
Offset of the object.
Rotation of the object in radians.
Whether the object should be able to detach when not fixed.
Whether the object and the entity should collide with each other.
Whether the rotation of the object is fixed or follows that of the entity.
Removes the object from the world.
Detaches the object from the current attached entity.
Set to true to keep velocity after dettaching. Default value is false.
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
Places the object properly on the ground.
Waits asynchronously until the object spawns.
Retrieves the ped from the pool.
The id of the ped.
Entity if it was found, otherwise null.
Gets the object with the given remote id
Retrieves the entity from the pool.
The script id of the entity.
Entity if it was found, otherwise null.
Object transparency, values are between 0 and 255. (0 being fully transparent)