redefinition error (constant macros)
#1

I have this error
Код:
C:\Program Files\Sublime Text 3\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
I tried all the fixes in the forum but still gives this error...
redefinition is in zcmd

zcmd code:
Код:
#if !defined isnull
	#define isnull(%1) \
				((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
y_utils code:
Код:
P:D(bool:isnull(str[]));
#define isnull(%1) \
	((%1[0] == 0) || (%1[0] == 1 && %1[1] == 0))
help me plz I'm not a good scripter at all
Reply
#2

Include YSI libraries after a_samp.inc and before zcmd.inc
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Include YSI libraries after a_samp.inc and before zcmd.inc
Thanks bro it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)