NPC:OnRecordingPlaybackEnd
From SA-MP Wiki
Description:
This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
This function has no parameters.
Return Values:
This callback does not handle returns.
Example Usage:
public OnRecordingPlaybackEnd() { StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, "all_around_lv_bus"); //This would start the recorded file again once it finishes reproducing. }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- NPC:StartRecordingPlayback: Starts reproducing an already recorded .rec file.
- NPC:StopRecordingPlayback: Stops reproducing a .rec file.