DK22Pac / plugin-sdk

An SDK for developing ASI/CLEO plugins for GTA San Andreas, GTA Vice City and GTA III
zlib License
435 stars 118 forks source link

CWeather func #131

Open Frouk3 opened 2 years ago

Frouk3 commented 2 years ago

I found function that forces and sets weatherType

void __cdecl CWeather::ForceAndSetWeather(int weatherType)
{
  CWeather::Lock = weatherType;
  CWeather::CurrentWeather = weatherType;
  CWeather::UpcomingWeather = weatherType;
}

address: 0x402157

kin4stat commented 2 years ago

??? https://github.com/DK22Pac/plugin-sdk/blob/ce935f7c052ff548d2fe337eb54084a4f4ece73b/plugin_sa/game_sa/CWeather.cpp#L70

Frouk3 commented 2 years ago

they're same but what i written its for declaration