mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
Revert RakNet source files back to the original v2.518 state
* Add RakNet source files to the VS project
This commit is contained in:
1 parent
3bad4d20c2
commit
bcdbedc0be
166 files changed
+46610
-1598
No files matched your search
@@ -587,6 +587,19 @@ int CGame::GetWorldWeather()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CGame::DisplayHud(BOOL bDisp)
|
||||
{
|
||||
if(bDisp) {
|
||||
*(BYTE*)ADDR_ENABLE_HUD = 1;
|
||||
ToggleRadar(1);
|
||||
} else {
|
||||
*(BYTE*)ADDR_ENABLE_HUD = 0;
|
||||
ToggleRadar(0);
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
BYTE CGame::IsHudEnabled()
|
||||
{
|
||||
return *(BYTE*)ADDR_ENABLE_HUD;
|
||||
|
||||
Reference in new issue
Block a user