mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CGame::EnableStuntBonus(...)
This commit is contained in:
parent
e83613689a
commit
e79a03a240
@ -949,4 +949,13 @@ void CGame::EnableZoneNames(BYTE byteEnable)
|
||||
ScriptCommand(&enable_zone_names, byteEnable);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CGame::EnableStuntBonus(bool bEnable)
|
||||
{
|
||||
UnFuck(0xA4A474,4);
|
||||
*(DWORD*)0xA4A474 = (int)bEnable;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -69,6 +69,7 @@ public:
|
||||
void SetWantedLevel(BYTE byteLevel);
|
||||
void SetGameTextCount(WORD wCount);
|
||||
void DrawGangZone(float* fPos, DWORD dwColor);
|
||||
void EnableStuntBonus(bool bEnable);
|
||||
|
||||
void DisableRaceCheckpoint();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user