mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement/match CGame::EnableStuntBonus(...)
This commit is contained in:
1 parent
e83613689a
commit
e79a03a240
2 files changed
+11
-1
No files matched your search
+10
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user