# onClientCinematicFinish (Client)

> Fired when a cinematic's playback reaches its end by itself.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Event
- **Side**: Client
- **Category**: Cinematics
- **URL**: https://wiki.mymp.gg/en/onClientCinematicFinish

## Syntax

```lua
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

```lua
local intro = createCinematic("cinematics/intro.cine")

addEventHandler("onClientCinematicFinish", intro, function()
    setCameraTarget(localPlayer)
    triggerServerEvent("onIntroWatched", localPlayer)
end)

playCinematic(intro)
```

## See also

- [playCinematic (Client)](https://wiki.mymp.gg/en/playCinematic.md): Plays the cinematic: the actors as local clones, plus the camera, weather, hour, fade, sounds and captions.
- [stopCinematic (Client)](https://wiki.mymp.gg/en/stopCinematic.md): Stops the cinematic's playback. The clones go away and the weather, hour and fade go back to what the world had.
- [setCinematicDuration (Client)](https://wiki.mymp.gg/en/setCinematicDuration.md): Fixes the cinematic's duration. Playback ends when it gets there.
