Base class for all entities in the framework. Still wondering if this should be an abstract class. May change in the future.
Protected
A JSON string representation of the object.
A string representation of the object.
Clones the object.
-1 if this is less than other, 0 if they are equal, 1 if this is greater than other.
-1
this
other
0
1
Checks if the object is equal to another object.
The object to compare to.
true if the objects are equal, false otherwise.
true
false
Gets the dimensions of the model
The minimum and maximum dimensions of the model
https://docs.fivem.net/natives/?_0x03E8D3D5F549087A
Getter for the model hash
The model hash
Whether the model is in the game's CD image
Whether the model is loaded
Whether the model is valid
Getter for the model name
The model name (can be nil as the model name can't be retrieved from the hash)
Gets the size of the model
A vector3 representing the size of the model in the x, y, and z dimensions
A hash code for the object instance.
Loads the model into the game
Time to wait for the model to load
Converts the entity to a network entity
An instance to a CNetEntity
Unloads the model from the game
Static
No Self
Base class for all entities in the framework. Still wondering if this should be an abstract class. May change in the future.