SA-MP Forums Archive
Use ALS_MAKE not ALS_PREFIX - 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: Use ALS_MAKE not ALS_PREFIX (/showthread.php?tid=413699)



Use ALS_MAKE not ALS_PREFIX - Mr.1337 - 06.02.2013

I installed the latest YSI.. now when I compile my GM is get this:
pawn Код:
Use ALS_MAKE not ALS_PREFIX



Re: Use ALS_MAKE not ALS_PREFIX - Luit - 06.02.2013

Doesn't that just tell you what to do? Go through and find ALS_PREFIX and replace with ALS_MAKE?


Re: Use ALS_MAKE not ALS_PREFIX - Mr.1337 - 06.02.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Replace lines such as:

pawn Код:
#define ALS_PREFIX Hi
With:

pawn Код:
#define ALS_MAKE<%0...%1> %0Hi%1
And:

pawn Код:
#undef ALS_PREFIX
With:

pawn Код:
#undef ALS_MAKE

I should have documented this change but forgot, sorry!
I don't have such a thing like that in my gamemode.

pawn Код:
\Desktop\samp03e_svr_R2_win32\pawno\include\YSI\y_als.inc(341) : fatal error 111: user error: Use ALS_MAKE not ALS_PREFIX



Re: Use ALS_MAKE not ALS_PREFIX - Mr.1337 - 06.02.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
The error appears in that file, but isn't caused by that file - it must be in another include.
I don't really get it..


Re: Use ALS_MAKE not ALS_PREFIX - Mr.1337 - 06.02.2013

Nothing.


Re: Use ALS_MAKE not ALS_PREFIX - Mr.1337 - 07.02.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Something must be including that library and something must be defining ALS_PREFIX. How did you check?
Checked every include..


Re: Use ALS_MAKE not ALS_PREFIX - RampaGeuse - 07.02.2013

I'm having exactly same problem, Did everything you said ****** but couldn't find that


Re: Use ALS_MAKE not ALS_PREFIX - gychem - 07.02.2013

I have the same problem :/