Quote:
Originally Posted by Luicy.
Those includes doesn't make sense..
Why make a weather including doing nothing else than the original SetWeather?
|
Yeah! I made to make OnWeatherChangeCallback and GetWeather Function but I will hook it and reupload it and it will be combined with some other Include
Quote:
Originally Posted by JaKe Elite
Maybe it was made so that the callback OnWeatherChange gets called.
He should have instead hooked up the functions instead of making a second function that does the same thing in the original function.
|
I will hook it and reupload it and I made this Include because I have few great ideas in my mind which I will add later on related to weather
Quote:
Originally Posted by Luicy.
Why not just;
PHP Code:
OnGameModeInit() {
SetWeather(some id);
/*do what u want*/
}
|
I cant make you Understand but as I wanna make new functions for Weather for which this Include is important so i made a new function but now maybe i will hook it
Quote:
Originally Posted by kvann
Code:
stock SetWeatherEx(weatherid)
{
SetWeather(weatherid);
new weather = weatherid;
CallLocalFunction(OnWeatherChange(weatherid));
}
wtf...
|
Bro! If you don't have any suggestion why don't you just keep your mouth close..It really hurts...If you would have given some suggestions then I would have appreciated it
Quote:
Originally Posted by Crayder
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.
|
Thanks for your support pal! I understand what you just said and i will hook the function and make sWeather include more interesting and useful
Quote:
Originally Posted by justice96
Why you did not respect to his work? lol.
*OT: Keep it up mate!
|
Thanks! Really appreciate your support