OnRecordingPlaybackEnd
คำอธิบาย
This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
Name | Description |
---|
ตัวอย่าง
public OnRecordingPlaybackEnd()
{
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, "all_around_lv_bus"); //This would start the recorded file again once it finishes reproducing.
}
ฟังก์ชั่นที่เกี่ยวข้องกัน
- NPC:StartRecordingPlayback: Starts reproducing an already recorded .rec file.
- NPC:StopRecordingPlayback: Stops reproducing a .rec file.