canSetExitStateForRegisteredEntity
CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY0x4C6A6451C79E4662The GTA V native CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY of the CUTSCENE namespace, as LS:MP client scripts call it: the global function canSetExitStateForRegisteredEntity, in JavaScript and in Lua.
canSetExitStateForRegisteredEntity(
cutsceneEntName: string,
modelHash: Hash
): booleancanSetExitStateForRegisteredEntity(
cutsceneEntName: string,
modelHash: Hash
): booleanUsage
JavaScript
const result = canSetExitStateForRegisteredEntity(cutsceneEntName, modelHash);Lua
local result = canSetExitStateForRegisteredEntity(cutsceneEntName, modelHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cutsceneEntName | string | string | string |
modelHash | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Cutscenes CUTSCENE
- In the game
BOOL CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY(const char* cutsceneEntName, Hash modelHash)- Hash
0x4C6A6451C79E4662