SA-MP Forums Archive
Warning showed up YSI 4.0 HELP! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning showed up YSI 4.0 HELP! (/showthread.php?tid=661314)



Warning showed up YSI 4.0 HELP! - tandytanz - 30.11.2018

I have YSI 3.1 and then i update it to YSI 4.0 without clearing YSI 3.1
And then i updated the amx-assembly as it demand

and then when i compile my GM a warning showed up



pawn Код:
C:\Users\Tandy\Desktop\Script SAMP\pawno\include\YSI\..\YSI_Coding\..\YSI_Internal\..\YSI_Core\y_utils.inc(427) : warning 201: redefinition of constant/macro (symbol "isnull(%0)")



Re: Warning showed up YSI 4.0 HELP! - MIDO007 - 30.11.2018

Show me line 427


Re: Warning showed up YSI 4.0 HELP! - Banditul18 - 30.11.2018

Quote:
Originally Posted by MIDO007
Посмотреть сообщение
Show me line 427
What for?

@OP your problem is that your script contain the isnull macro somewhere and it conflicts with ysi macro. What you can do is to search your script for that macro and delete it


Re: Warning showed up YSI 4.0 HELP! - GameOvr - 01.12.2018

Bro I had the same problem the easiest way is not to search all over y_utils.inc and find the macro

Just include YSI before other includes and
and after a_samp

leave a +rep if it works


Re: Warning showed up YSI 4.0 HELP! - tandytanz - 19.12.2018

It's solved just move your #include <YSI\y_....> to bellow #include <a_samp>