PDA

View Full Version : DINI - help


Chrillzen
15/03/2013, 08:33 PM
I suck with dini, and yes I have to stick with it.

(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

PlayerInfo[playerid][pFaction] = 255;


Enum


enum PlayerInfo
{

pFaction,

};
new pInfo[MAX_PLAYERS][PlayerInfo];

FunnyBear
15/03/2013, 08:39 PM
I suck with dini, and yes I have to stick with it.

(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

PlayerInfo[playerid][pFaction] = 255;


Enum


enum PlayerInfo
{

pFaction,

};
new pInfo[MAX_PLAYERS][PlayerInfo];

Can you please post a few lines above the enum?

SilverKiller
15/03/2013, 08:47 PM
pInfo[playerid][pFaction] = 255;

enum PlayerInfo
{
pFaction
};
new pInfo[MAX_PLAYERS][PlayerInfo];

Chrillzen
15/03/2013, 08:47 PM
pInfo[playerid][pFaction] = 255;

enum PlayerInfo
{
pFaction
};
new pInfo[MAX_PLAYERS][PlayerInfo];

Danke.