plugin-sdk icon indicating copy to clipboard operation
plugin-sdk copied to clipboard

CWeather func

Open Frouk3 opened this issue 3 years ago • 2 comments

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

Frouk3 avatar Mar 08 '22 20:03 Frouk3

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

kin4stat avatar Mar 08 '22 21:03 kin4stat

they're same but what i written its for declaration

Frouk3 avatar Mar 11 '22 07:03 Frouk3