30.04.2018, 11:15
Yo guys,
I've been trying to add YSI/y_iterate to my GM and it just doesn't want to cooperate.
My GM has a few other incudes and wherever I put YSI it gives random errors.
Here are the includes:
And current error:
If I put it on the bottom of the includes, after compiling, this happens:
I can't find anything about this and it's quite frustrating, so if someone can help me I would appreciate it a lot.
Thanks in advanced.
EDIT:
I tried including the foreach standalone version and it gives me the same errors.
2nd EDIT:
I think I found the problem, my include vehcolors screws with it for some reason and after I removed the vehcolor include following errors happen:
3rd EDIT:
Guys I fixed it by removing all other YSI includes from my pawno/include folder.
So now I'm just using the foreach include and it's working.
Buy the thing that bothers me is, why the heck does it give me so many errors if I try include YSI?
NOTE: I'm gonna leave this thread here if someone needs help with it.
I've been trying to add YSI/y_iterate to my GM and it just doesn't want to cooperate.
My GM has a few other incudes and wherever I put YSI it gives random errors.
Here are the includes:
Код:
#include <a_samp> #include <YSI\y_iterate> #include <a_players> #include <streamer> #include <fixes> #include <vehcolor> //#include <core> #include <float> #include <zcmd> #include <Dini2> #include <sscanf2> #include <OnPlayerUseVending> #include <fly> #include <mapandreas> #include <profiler> #include <MyNatives> #include <strlib>
Код:
F:\Games\Samp server\pawno\include\fixes.inc(3282) : fatal error 111: user error: _ALS_OnFilterScriptInit defined
Код:
F:\Games\Samp server\pawno\include\Dini2.inc(200) : warning 219: local variable "NULL" shadows a variable at a preceding level F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(1128) : warning 235: public function lacks forward declaration (symbol "VA_OnScriptInit") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(604) : warning 201: redefinition of constant/macro (symbol "CreateVehicle") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(622) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(646) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(662) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle") F:\Games\Samp server\gamemodes\BalkanKingRP.pwn(116) : error 017: undefined symbol "do_not_use_tabsize_0"
Thanks in advanced.
EDIT:
I tried including the foreach standalone version and it gives me the same errors.
2nd EDIT:
I think I found the problem, my include vehcolors screws with it for some reason and after I removed the vehcolor include following errors happen:
Код:
F:\Games\Samp server\pawno\include\Dini2.inc(200) : warning 219: local variable "NULL" shadows a variable at a preceding level F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") F:\Games\Samp server\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(1128) : warning 235: public function lacks forward declaration (symbol "VA_OnScriptInit")
Guys I fixed it by removing all other YSI includes from my pawno/include folder.
So now I'm just using the foreach include and it's working.
Buy the thing that bothers me is, why the heck does it give me so many errors if I try include YSI?
NOTE: I'm gonna leave this thread here if someone needs help with it.