mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Match CGame::SetWorldWeather(...)
This commit is contained in:
+5
-4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user