mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Match CGame::SetWorldWeather(...)
This commit is contained in:
parent
79ae0f4f1f
commit
52da6c73c1
@ -492,12 +492,13 @@ BOOL CGame::IsModelLoaded(int iModelID)
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
// MATCH
|
||||
void CGame::SetWorldWeather(int iWeatherID)
|
||||
{
|
||||
*(DWORD*)(0xC81318) = iWeatherID;
|
||||
|
||||
if(!field_69) {
|
||||
if(field_69) {
|
||||
*(DWORD*)(0xC81318) = iWeatherID;
|
||||
} else {
|
||||
*(DWORD*)(0xC81318) = iWeatherID;
|
||||
*(DWORD*)(0xC8131C) = iWeatherID;
|
||||
*(DWORD*)(0xC81320) = iWeatherID;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user