isVehicleRecordingLoaded
Client-side
Reports whether a registered recording currently has a streamed native frame buffer.
Syntax
bool isVehicleRecordingLoaded(int recordingId)Arguments
recordingIdintRegistered native recording ID.
Returns
true while the frame buffer is loaded; false otherwise.
Ownership and lifecycle
Playback stops when the resource shuts down, the native vehicle is destroyed or streamed out, or sync ownership is lost. It uses opcode 05EB directly and does not loop.
Where this comes from
SOURCECLuaVehicleDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp INTRODUCED / EXTENDEDeafc816e6Read the commit and why the change was made RELATED CATEGORY HARNESS native-vehicle-recording-test Category-level coverage · test-resources/native-vehicle-recording-test
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native vehicle recordings works →