SA-MP Forums Archive
Undefined symbol - 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: Undefined symbol (/showthread.php?tid=465850)



Undefined symbol - Voxel - 24.09.2013

im getting this error:

pawn Код:
(77) : error 017: undefined symbol "INVALID_OBJECT_ID"
with this code

pawn Код:
static LootObjects[MAX_LOOTS] = { INVALID_OBJECT_ID, ... };



Re: Undefined symbol - Chiao - 24.09.2013

This looks complicated mate wish I could help on this one but I never worked with such things only with basics


Re: Undefined symbol - Konstantinos - 24.09.2013

INVALID_OBJECT_ID is defined in a_samp.inc
pawn Код:
#define INVALID_OBJECT_ID                       (0xFFFF)
If it's not defined there, you might be using an older version of a_samp.inc
Update it to the latest one (0.3x).


Re: Undefined symbol - Voxel - 24.09.2013

Thanks Konstantinos! and thanks anyway chiao


Re: Undefined symbol - iZN - 24.09.2013

edit: - didn't seen -