skipFileCutscene
Client-side
Applies GTA's native skip path to the owned playback.
Syntax
bool skipFileCutscene(int token)Arguments
tokenintCurrent started file-cutscene token.
Returns
true when GTA accepted and recorded the skip; false before start or for invalid ownership.
Ownership and lifecycle
File cutscenes share GTA's exclusive camera lease. Release, resource shutdown, disconnect, or a camera takeover deletes the native cutscene before restoring gameplay state.
Important behavior
- This function is local. Cooperative resources should call it only after the server authorizes and broadcasts the skip.
Where this comes from
SOURCECLuaCameraDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaCameraDefs.cpp INTRODUCED / EXTENDED4f2be00c1Read the commit and why the change was made TEST RESOURCE tagging-up-turf test-resources/tagging-up-turf
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native file cutscenes works →