03.06.2011, 19:52
Just a question.
Do you know any case when MAX_PLAYERS isn't defiend after you include a_samp.inc?
Code:
#if defined MAX_PLAYERS #undef MAX_PLAYERS
#if defined MAX_PLAYERS #undef MAX_PLAYERS
CreateArea() and CreateAreaEx() will return the areaid, example:
pawn Code:
|
#define gArea_OnPlayerDisconnect OnPlayerDisconnect
#define OnPlayerDisconnect gArea_OnPlayerDisconnect
Well, I dunno why but I'm getting these errors upon compile, I even tried copy pasting the example you have on the front page and it resulted in the same errors.
C:\Server\pawno\include\gArea.inc(154) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(156) : error 017: undefined symbol "SetPVarInt" C:\Server\pawno\include\gArea.inc(160) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(162) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(164) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(165) : error 017: undefined symbol "DeletePVar" C:\Server\pawno\include\gArea.inc(173) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(175) : error 017: undefined symbol "SetPVarInt" C:\Server\pawno\include\gArea.inc(179) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(181) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(183) : error 017: undefined symbol "GetPVarInt" C:\Server\pawno\include\gArea.inc(184) : error 017: undefined symbol "DeletePVar" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 12 Errors. I see its something in the inc, but I dunno why, I copied it exactly from the pastebin and put it into the pawno and saved it as a .inc file? I dunno if thats right, if it isn't please tell me how to do it otherwise. :P Any suggestions/solutions? |