stopCinematic
Client
Stops the cinematic's playback. The clones go away and the weather, hour and fade go back to what the world had.
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
local intro = createCinematic("cinematics/intro.cine")
playCinematic(intro)
bindKey("space", "down", function()
stopCinematic(intro)
end)NoteStopping with this function does not fire
onClientCinematicFinish.