Native referenceFiveM

REQUEST_MODEL

0x963D27A58DF860AC STREAMING
FUNCTION SIGNATURE
void REQUEST_MODEL(Hash model);
Property Value
Native Name REQUEST_MODEL
Hash 0x963D27A58DF860AC
Return Type void
Parameters model (Hash)

Description: Request a model (archetype) to be loaded for use by the current script. Use SET_MODEL_AS_NO_LONGER_NEEDED when done using the model in script.

Parameters

  • model (Hash) — The model to request.

Examples

local modelHash = `adder`
RequestModel(modelHash)
while not HasModelLoaded(modelHash) do
  Wait(0)
end

-- omitted: creating a vehicle

-- when done using the model
SetModelAsNoLongerNeeded(modelHash)
Back to STREAMING