mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 10:24:09 +00:00
Running script part 3
This commit is contained in:
parent
60364f11da
commit
5acce16261
19 changed files with 758 additions and 21 deletions
|
@ -240,15 +240,15 @@ void CReplay::Update(void)
|
|||
if (CDraw::FadeValue || !bReplayEnabled)
|
||||
return;
|
||||
if (Mode == MODE_PLAYBACK){
|
||||
if (CPad::NewKeyState.F[0] && !CPad::OldKeyState.F[0])
|
||||
if (CPad::GetPad(0)->GetFJustDown(0))
|
||||
FinishPlayback();
|
||||
}
|
||||
else if (Mode == MODE_RECORD){
|
||||
if (CPad::NewKeyState.F[0] && !CPad::OldKeyState.F[0])
|
||||
if (CPad::GetPad(0)->GetFJustDown(0))
|
||||
TriggerPlayback(REPLAYCAMMODE_ASSTORED, 0.0f, 0.0f, 0.0f, false);
|
||||
if (CPad::NewKeyState.F[1] && !CPad::OldKeyState.F[1])
|
||||
if (CPad::GetPad(0)->GetFJustDown(1))
|
||||
SaveReplayToHD();
|
||||
if (CPad::NewKeyState.F[2] && !CPad::OldKeyState.F[2])
|
||||
if (CPad::GetPad(0)->GetFJustDown(2))
|
||||
PlayReplayFromHD();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue