[Ajuda] Erro
#1

Quote:

enum Infos
{
AdminLevel
}

new PlayerInfo[MAX_PLAYERS][Infos];

stock SetPlayerInfos(pID) {
new Directory[200];
format(Directory, sizeof(Directory), "users/%s.ini", Nome(pID));

PlayerInfo[pID][Infos][AdminLevel] = dini_Int(Directory, "AdminLvl");

return 1;
}

Erro: array index out of bounds (variable "PlayerInfo")

ps: novo em pawn.

Grato desde jб.
Reply


Messages In This Thread
Erro - by Kyl3 - 04.02.2013, 21:05
Re: Erro - by DanDRT - 04.02.2013, 21:06
Re: Erro - by Kyl3 - 04.02.2013, 21:09
Re: Erro - by DanDRT - 04.02.2013, 21:11

Forum Jump:


Users browsing this thread: 3 Guest(s)