error 032: array index out of bounds
#1

pawn Код:
error 032: array index out of bounds (variable "RandomPizzaTimer")
pawn Код:
new RandomPizzaTimer[][] =
{
    {15, 0},
    {15, 0},
    {15, 0},
    {15, 0},
    {15, 0}
};
new Random = random(sizeof(RandomPizzaPoints));
vPlayer[playerid][pPizzaData] = Random;

GivePlayerMoney(playerid, RandomPizzaTimer[vPlayer[playerid][pPizzaData]][2]);//Error Line
Any idea? It might be solved with a enum? Thanks...
Reply


Messages In This Thread
error 032: array index out of bounds - by FullCircle - 30.09.2014, 01:49
Re: error 032: array index out of bounds - by Emmet_ - 30.09.2014, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)