gArea problem
#1

I've put the gArea include and this error shows up:
"public OnPlayerDisconnect already defined"

I don't understand what's up with that. I just put the gArea.inc in the pawn directory>include
Reply
#2

It means that this particular include is poorly scripted and doesn't hook the callback in an appropriate way. Ask the creator to fix it. Tell him to use ALS callback hooking method.
Reply
#3

He did do something with ALS. This is his code:
http://pastebin.com/vw6gRKZX
Reply
#4

btw, it says "Symbol already defined: OnPlayerDisconnect", just for the exact.
Reply
#5

Found his mistake: He defined gArea_OnPlayerDisconnect as OnPlayerDisconnect instead of the opposite, so change this:
pawn Код:
#define gArea_OnPlayerDisconnect OnPlayerDisconnect
to this:
pawn Код:
#define OnPlayerDisconnect gArea_OnPlayerDisconnect

Admin, please add [SOLVED] to the name of the topic.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)