error 001: expected token: "-identifier-", but found "-integer value-"
#1

pawn Код:
enum PInfo
{
    Name[60],
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    pScore,
    pRegular,
    pRank //Line 178
}
new SInfo[MAX_PLAYERS][PInfo];
error

Код:
C:\Documents and Settings\Owner\Desktop\test\gamemodes\DDPTDM.pwn(178) : error 001: expected token: "-identifier-", but found "-integer value-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Any Ideas on how i can fix this?
Reply
#2

Show us the variables
Reply
#3

pawn Код:
enum PInfo
{
    Name[60],
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths,
    pScore,
    pRegular,
    pRank //Line 178
};
new SInfo[MAX_PLAYERS][PInfo];
Reply
#4

Quote:
Originally Posted by Avenger™
Посмотреть сообщение
Show us the variables
pawn Код:
new gClass[MAX_PLAYERS];
new gTeam[MAX_PLAYERS];
The rest of the variables are just random spawns.
Reply
#5

I mean where you set there name bla bla where it says getplayername
Reply
#6

pawn Код:
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH,playername);
    return string;
}
Should be this correct?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)