onClientCinematicFinish
ClientEvent
Fired when a cinematic's playback reaches its end by itself.
addEventHandler("onClientCinematicFinish", root, function() … end)
Source
The cinematic that finished.
It is not fired when playback is stopped with stopCinematic. By the time it arrives the cinematic has stopped and can be played again.
Example
local intro = createCinematic("cinematics/intro.cine")
addEventHandler("onClientCinematicFinish", intro, function()
setCameraTarget(localPlayer)
triggerServerEvent("onIntroWatched", localPlayer)
end)
playCinematic(intro)