warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
OnRecordingPlaybackEnd
Description
This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
Examples
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 they're related to this callback in one way or another.
- StartRecordingPlayback: Starts reproducing an already recorded .rec file.
- StopRecordingPlayback: Stops reproducing a .rec file.