Native referenceFiveM

CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY

0x4C6A6451C79E4662 CUTSCENE
FUNCTION SIGNATURE
BOOL CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY(char* cutsceneEntName, Hash modelHash);
Property Value
Native Name CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY
Hash 0x4C6A6451C79E4662
Return Type BOOL
Parameters cutsceneEntName (char*), modelHash (Hash)

Description: Returns if the script can begin interacting with the registered entity. Primarly used for lead-outs of cutscenes. Returns on frame after cutscene ends, so you cannot get is while using IsCutsceneActive()

Whether it is safe to start doing scripted actions on the entity, like simulating walking out of a cutscene.

Parameters

  • cutsceneEntName (char*) — Name of the entity cHandle in the cutscene
  • modelHash (Hash) — Can be 0
Back to CUTSCENE