[Include] sInclude Library
#11

Quote:
Originally Posted by Luicy.
View Post
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
View Post
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.
View Post
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
View Post
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
View Post
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
View Post
Why you did not respect to his work? lol.

*OT: Keep it up mate!
Thanks! Really appreciate your support
Reply


Messages In This Thread
sInclude Library [New Include sUser] - by Siddhant240201 - 08.10.2016, 08:05
Re: sInclude Library - by Siddhant240201 - 08.10.2016, 08:47
Re: sInclude Library - by Siddhant240201 - 08.10.2016, 08:49
Re: sInclude Library - by Luicy. - 08.10.2016, 09:14
Re: sInclude Library - by JaKe Elite - 08.10.2016, 09:16
Re: sInclude Library - by Luicy. - 08.10.2016, 09:52
Re: sInclude Library - by justice96 - 08.10.2016, 09:56
Re: sInclude Library - by kristo - 08.10.2016, 14:07
Re: sInclude Library - by Crayder - 08.10.2016, 17:01
Re: sInclude Library - by Siddhant240201 - 09.10.2016, 05:35
Re: sInclude Library - by Siddhant240201 - 09.10.2016, 06:45
Re: sInclude Library - by Siddhant240201 - 17.10.2016, 09:48
Re: sInclude Library - by Luicy. - 18.10.2016, 13:07
Re: sInclude Library - by Sew_Sumi - 18.10.2016, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)