Array Index Out of Bounds
#2

If I'm not mistaken udb_hash returns an integer and you try to set the 24th index of rank array. If rank has size of 24, then the max valid bound is 23.

So if you want to store something to array and then use it in udb_hash and the result onto pRank:
pawn Код:
PlayerInfo[playerid][pRank] = udb_hash(rank);
If it's something else you want to do, please explain and show how you declared rank as well.
Reply


Messages In This Thread
Array Index Out of Bounds - by Zonoya - 07.03.2014, 20:10
Re: Array Index Out of Bounds - by Konstantinos - 07.03.2014, 20:56
Re: Array Index Out of Bounds - by Zonoya - 07.03.2014, 21:12

Forum Jump:


Users browsing this thread: 2 Guest(s)