---
title: "StopRecordingPlayback | open.mp"
description: "This will stop the current .rec file which is being ran by the NPC, making it stay idle until some other order is given."
canonical: https://omp.itsneufox.com/docs/scripting/functions/StopRecordingPlayback
language: en
---

# StopRecordingPlayback

warning

This function is deprecated. Please see [NPC\_StopPlayback](https://omp.itsneufox.com/docs/scripting/functions/NPC_StopPlayback).

## Description

This will stop the current .rec file which is being ran by the NPC, making it stay idle until some other order is given.

## Examples

```c
public OnNPCExitVehicle(vehicleid, seatid)
{
    StopRecordingPlayback();
}
```

## Related Functions

-   [StartRecordingPlayback](https://omp.itsneufox.com/docs/scripting/functions/StartRecordingPlayback): Stops reproducing a .rec file.
