DINI - help
#1

I suck with dini, and yes I have to stick with it.

pawn Код:
(2042) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
(2042) : warning 215: expression has no effect
(2042) : error 001: expected token: ";", but found "]"
(2042) : error 029: invalid expression, assumed zero
(2042) : fatal error 107: too many error messages on one line
Line; 2042

pawn Код:
PlayerInfo[playerid][pFaction] = 255;

Enum


pawn Код:
enum PlayerInfo
{

pFaction,

};
new pInfo[MAX_PLAYERS][PlayerInfo];
Reply
#2

Quote:
Originally Posted by Chrillzen
Посмотреть сообщение
I suck with dini, and yes I have to stick with it.

pawn Код:
(2042) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
(2042) : warning 215: expression has no effect
(2042) : error 001: expected token: ";", but found "]"
(2042) : error 029: invalid expression, assumed zero
(2042) : fatal error 107: too many error messages on one line
Line; 2042

pawn Код:
PlayerInfo[playerid][pFaction] = 255;

Enum


pawn Код:
enum PlayerInfo
{

pFaction,

};
new pInfo[MAX_PLAYERS][PlayerInfo];
Can you please post a few lines above the enum?
Reply
#3

pawn Код:
pInfo[playerid][pFaction] = 255;
pawn Код:
enum PlayerInfo
{
    pFaction
};
new pInfo[MAX_PLAYERS][PlayerInfo];
Reply
#4

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
pawn Код:
pInfo[playerid][pFaction] = 255;
pawn Код:
enum PlayerInfo
{
    pFaction
};
new pInfo[MAX_PLAYERS][PlayerInfo];
Danke.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)