08.10.2016, 17:01
Well, at least this guy actually tried. Most newbs wouldn't have done that much.
So a few obvious things... MAX_PLAYERS loops are bad. SetWeatherEx needs to be a hook, remove the "weather" variable, and I'm not totally sure what you want the CallLocalFunction line to do. If it's just a simple local call just execute the callback. And more.
So a few obvious things... MAX_PLAYERS loops are bad. SetWeatherEx needs to be a hook, remove the "weather" variable, and I'm not totally sure what you want the CallLocalFunction line to do. If it's just a simple local call just execute the callback. And more.