mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[bot] Implement n_PauseRecordingPlayback(...)
* Implement `CNetGame::PauseRecordingPlayback()`
This commit is contained in:
parent
d9976bb678
commit
b1920ee36e
@ -584,5 +584,10 @@ void CNetGame::StopRecordingPlayback()
|
|||||||
field_1DA = 0;
|
field_1DA = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CNetGame::PauseRecordingPlayback()
|
||||||
|
{
|
||||||
|
if(field_1DE == 1 || field_1DE == 2)
|
||||||
|
field_1FA = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,6 +103,7 @@ public:
|
|||||||
void SetVehicleAdded(VEHICLEID VehicleID, BOOL a2);
|
void SetVehicleAdded(VEHICLEID VehicleID, BOOL a2);
|
||||||
|
|
||||||
void StopRecordingPlayback();
|
void StopRecordingPlayback();
|
||||||
|
void PauseRecordingPlayback();
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
@ -101,8 +101,8 @@ static cell AMX_NATIVE_CALL n_StopRecordingPlayback(AMX *amx, cell *params)
|
|||||||
// native PauseRecordingPlayback()
|
// native PauseRecordingPlayback()
|
||||||
static cell AMX_NATIVE_CALL n_PauseRecordingPlayback(AMX *amx, cell *params)
|
static cell AMX_NATIVE_CALL n_PauseRecordingPlayback(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
// TODO: n_PauseRecordingPlayback
|
pNetGame->PauseRecordingPlayback();
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// native ResumeRecordingPlayback()
|
// native ResumeRecordingPlayback()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user