SA-MP Forums Archive
Rent problem - 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: Rent problem (/showthread.php?tid=652420)



Rent problem (error 032: array index out of bounds) - MukiValdez - 10.04.2018

Can someone solve this

C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 032: array index out of bounds (variable "RentInfo")

Код:
RentInfo[i] = hex_CreateVehicle(RentInfo[i][rModel], RentInfo[i][rPozicija][0], RentInfo[i][rPozicija][1], RentInfo[i][rPozicija][2], RentInfo[i][rPozicija][3], RentInfo[i][SBOJA][0], RentInfo[i][rSBOJA][1], 2400);



Re: Rent problem - Mugala - 10.04.2018

hex_CreateVehicle(RentInfo[i][rModel], RentInfo[i][rPozicija[0]], RentInfo[i][rPozicija[1]], RentInfo[i][rPozicija[2]], RentInfo[i][rPozicija[3]], RentInfo[i][SBOJA[0]], RentInfo[i][rSBOJA[1]], 2400);