CutscenesClient

setVehicleModelPlayerWillExitScene

SET_VEHICLE_MODEL_PLAYER_WILL_EXIT_SCENE0x7F96F23FA9B73327

The GTA V native SET_VEHICLE_MODEL_PLAYER_WILL_EXIT_SCENE of the CUTSCENE namespace, as LS:MP client scripts call it: the global function setVehicleModelPlayerWillExitScene, in JavaScript and in Lua.

SignatureJavaScript
setVehicleModelPlayerWillExitScene(modelHash: Hash): void
SignatureLua
setVehicleModelPlayerWillExitScene(modelHash: Hash)

Usage

JavaScript
setVehicleModelPlayerWillExitScene(modelHash);
Lua
setVehicleModelPlayerWillExitScene(modelHash)

Parameters

ParameterTypeJavaScriptLua
modelHashHashnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Reference

Namespace
Cutscenes CUTSCENE
In the game
void SET_VEHICLE_MODEL_PLAYER_WILL_EXIT_SCENE(Hash modelHash)
Hash
0x7F96F23FA9B73327

Open in the interactive natives reference