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;
|
||||
}
|
||||
|
||||
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 StopRecordingPlayback();
|
||||
void PauseRecordingPlayback();
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
@ -101,8 +101,8 @@ static cell AMX_NATIVE_CALL n_StopRecordingPlayback(AMX *amx, cell *params)
|
||||
// native PauseRecordingPlayback()
|
||||
static cell AMX_NATIVE_CALL n_PauseRecordingPlayback(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: n_PauseRecordingPlayback
|
||||
return 0;
|
||||
pNetGame->PauseRecordingPlayback();
|
||||
return 1;
|
||||
}
|
||||
|
||||
// native ResumeRecordingPlayback()
|
||||
|
Loading…
x
Reference in New Issue
Block a user