DINI - help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DINI - help (
/showthread.php?tid=422905)
DINI - help -
Chrillzen - 15.03.2013
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];
Re: DINI - help -
FunnyBear - 15.03.2013
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?
Re: DINI - help -
SilverKiller - 15.03.2013
pawn Код:
pInfo[playerid][pFaction] = 255;
pawn Код:
enum PlayerInfo
{
pFaction
};
new pInfo[MAX_PLAYERS][PlayerInfo];
Re: DINI - help -
Chrillzen - 15.03.2013
Quote:
Originally Posted by SilverKiller
pawn Код:
pInfo[playerid][pFaction] = 255;
pawn Код:
enum PlayerInfo { pFaction }; new pInfo[MAX_PLAYERS][PlayerInfo];
|
Danke.