mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Match cmdHudScaleFix(...)
This commit is contained in:
parent
28d6559378
commit
ded911ff3f
@ -6,6 +6,7 @@ extern CCmdWindow *pCmdWindow;
|
|||||||
extern CDeathWindow *pDeathWindow;
|
extern CDeathWindow *pDeathWindow;
|
||||||
extern CNetGame *pNetGame;
|
extern CNetGame *pNetGame;
|
||||||
extern GAME_SETTINGS tSettings;
|
extern GAME_SETTINGS tSettings;
|
||||||
|
extern CConfig *pConfig;
|
||||||
|
|
||||||
extern bool bShowDebugLabels;
|
extern bool bShowDebugLabels;
|
||||||
extern bool bHudScaleFix;
|
extern bool bHudScaleFix;
|
||||||
@ -73,16 +74,17 @@ void cmdHudScaleFix(PCHAR szCmd)
|
|||||||
if(bHudScaleFix)
|
if(bHudScaleFix)
|
||||||
{
|
{
|
||||||
bHudScaleFix = false;
|
bHudScaleFix = false;
|
||||||
// uncomment after finishing CConfig class
|
pConfig->SetIntVariable("nohudscalefix", 1);
|
||||||
//CConfig::SetIntVariable(pConfig, "nohudscalefix", 1, 0);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bHudScaleFix = 1;
|
bHudScaleFix = true;
|
||||||
//CConfig::SetIntVariable(pConfig, "nohudscalefix", 0, 0);
|
pConfig->SetIntVariable("nohudscalefix", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------
|
||||||
|
|
||||||
void cmdMem(PCHAR szCmd)
|
void cmdMem(PCHAR szCmd)
|
||||||
{
|
{
|
||||||
pChatWindow->AddDebugMessage("Memory: %u",*(DWORD *)0x8A5A80);
|
pChatWindow->AddDebugMessage("Memory: %u",*(DWORD *)0x8A5A80);
|
||||||
|
Loading…
Reference in New Issue
Block a user