Posts: 1,228
Threads: 1
Joined: May 2018
Reputation:
0
Include YSI libraries after a_samp.inc and then any other include.
Posts: 543
Threads: 4
Joined: Jul 2015
Reputation:
0
Open y_utils.inc and remove the definition of isnull, already had that, and that's the way I solved it. It's usually because you have two or more includes redefining the 'isnull' macro.
Posts: 117
Threads: 4
Joined: Feb 2018
Quote:
Originally Posted by TheToretto
Open y_utils.inc and remove the definition of isnull, already had that, and that's the way I solved it. It's usually because you have two or more includes redefining the 'isnull' macro.
|
This is something you should NOT do. Never modify includes, they were made the way they are meant to be.
Код:
#if !defined isnull
#define isnull(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
There's your solution.
Or even simpler, get rid of your isnull definition completely.
Posts: 1,767
Threads: 124
Joined: Mar 2010