Class to create and manage entity models.
Creates a model object based on the hash key or model string.
A number or string of the model's hash. Example: "mp_m_freemode_01"
Gets the hash of the model.
The hash key.
Gets if the model is loaded or not.
Whether this model is loaded.
Gets if the model is a Ped or not.
Whether this model is a Ped.
Gets if the model is a Vehicle or not.
Whether this model is a Vehicle.
Sets the model as no longer needed allowing the game engine to free memory.
Request and load the model with a specified timeout. Advised timeout - 1000.
Maximum allowed time for model to load.
Generated using TypeDoc