NPC:OnRecordingPlaybackEnd
From SA-MP Wiki
NPC:OnRecordingPlaybackEnd
Warning: This is a new NPC callback working since SA-MP 0.3. It won't work in previous versions.
This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
This function has no parameters
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 might be useful as well, as they're 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.
