undefined symbol "pInfo" I have tried everything
#1

After searching and find no answers.... This my error
Quote:

C:\Users\Administrator\Desktop\samp02Xserver.win32 \gamemodes\b3gw.pwn(63) : error 017: undefined symbol "pInfo"
C:\Users\Administrator\Desktop\samp02Xserver.win32 \gamemodes\b3gw.pwn(63) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Code I have
This line its say problem
Quote:

new PlayerInfo[MAX_PLAYERS][pInfo];

Yes I have,
Quote:

enum pInfo
{
pPassword[128],
pKills,
pDeaths,
pCash,
};

Please help!
Reply
#2

put this
Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
below

Код:
enum pInfo
{
  pPassword[128],
  pKills,
  pDeaths,
  pCash
};
Reply
#3

Wow, it works, how nice, cause of 1 misplaceing. Pff, atleast I got a working register/login system now
Thanks for helping me for like the 4th time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)