跳到主要内容

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.
}

The following functions might be useful, as they're related to this callback in one way or another.