# stopCinematicRecording (Client)

> Stops the cinematic's recording. The other actors that were playing during the recording stop too.

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

## Syntax

```lua
bool stopCinematicRecording(cinematic cinematic)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `cinematic` | `cinematic` | The cinematic. |

## Returns

`true` if it stopped, `false` if the cinematic was not recording.

## Example

```lua
local scene = createCinematic()
startCinematicRecording(scene, "hero", localPlayer)

setTimer(function()
    stopCinematicRecording(scene)
    playCinematic(scene)
end, 10000, 1)
```

## See also

- [startCinematicRecording (Client)](https://wiki.mymp.gg/en/startCinematicRecording.md): Starts recording a ped, player or vehicle as an actor of the cinematic. Called again while it records, it adds another actor to the same recording.
- [getCinematicData (Client)](https://wiki.mymp.gg/en/getCinematicData.md): Returns the whole cinematic as .cine bytes, which createCinematic reads back.
- [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.
