# stopCinematic (Client)

> Stops the cinematic's playback. The clones go away and the weather, hour and fade go back to what the world had.

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

## Syntax

```lua
bool stopCinematic(cinematic cinematic)
```

## Parameters

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

## Returns

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

## Example

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

bindKey("space", "down", function()
    stopCinematic(intro)
end)
```

### Note

Stopping with this function does not fire `onClientCinematicFinish`.

## 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.
- [setCinematicPaused (Client)](https://wiki.mymp.gg/en/setCinematicPaused.md): Pauses or resumes the cinematic's playback. While paused, the clones hold their animations, vehicles freeze and sounds pause.
- [onClientCinematicFinish (Client)](https://wiki.mymp.gg/en/onClientCinematicFinish.md): Fired when a cinematic's playback reaches its end by itself.
