mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CGame::GetWorldTime(...)
This commit is contained in:
parent
4c0a58f35c
commit
03d0aeadf1
@ -493,6 +493,14 @@ BOOL CGame::IsModelLoaded(int iModelID)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
// MATCH
|
||||
void CGame::GetWorldTime(BYTE* byteHour, BYTE* byteMinute)
|
||||
{
|
||||
*byteMinute = *(PBYTE)0xB70152;
|
||||
*byteHour = *(PBYTE)0xB70153;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CGame::ToggleThePassingOfTime(BYTE byteOnOff)
|
||||
{
|
||||
UnFuck(0x52CF10,1);
|
||||
|
@ -48,6 +48,7 @@ public:
|
||||
void LoadRequestedModels();
|
||||
BOOL IsModelLoaded(int iModelID);
|
||||
|
||||
void GetWorldTime(BYTE* byteHour, BYTE* byteMinute);
|
||||
void ToggleThePassingOfTime(BYTE byteOnOff);
|
||||
void SetWorldWeather(int iWeatherID);
|
||||
int GetWorldWeather();
|
||||
|
Loading…
x
Reference in New Issue
Block a user