CutscenesClient

removeCutFile

REMOVE_CUT_FILE0xD00D76A7DFC9D852

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

SignatureJavaScript
removeCutFile(cutsceneName: string): void
SignatureLua
removeCutFile(cutsceneName: string)

Usage

JavaScript
removeCutFile(cutsceneName);
Lua
removeCutFile(cutsceneName)

Parameters

ParameterTypeJavaScriptLua
cutsceneNamestringstringstring

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.

Simply unloads the cutscene and doesn't do extra stuff that removeCutscene does.
Full list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json

Reference

Namespace
Cutscenes CUTSCENE
In the game
void REMOVE_CUT_FILE(const char* cutsceneName)
Hash
0xD00D76A7DFC9D852

Open in the interactive natives reference