"return 0" issue.
#2

As your debugger tells you, you have an array index out of bounds runtime error, which means that you're probably pointing to an index in your array that doesn't exist (is out of bounds), most likely in this part of the code:

pawn Код:
GetVehicleName(OwnedCar(Player[playerid][CarKey1])), OwnedCar(Player[playerid][CarKey1]), Vehicles[OwnedCar(Player[playerid][CarKey1])][VehiclePlate]
You should show us these functions and additionally print out the values of the arguments being passed to them so we can see what's going wrong exactly.
Reply


Messages In This Thread
"return 0" issue. - by iGetty - 29.06.2012, 03:03
Re: "return 0" issue. - by JaTochNietDan - 29.06.2012, 03:15
Re: "return 0" issue. - by iGetty - 29.06.2012, 03:16
Re: "return 0" issue. - by JaTochNietDan - 29.06.2012, 03:22
Re: "return 0" issue. - by iGetty - 29.06.2012, 03:24
Re: "return 0" issue. - by JaTochNietDan - 29.06.2012, 03:29
Re: "return 0" issue. - by iGetty - 29.06.2012, 03:41
Re: "return 0" issue. - by iGetty - 29.06.2012, 16:14
Re: "return 0" issue. - by pyrodave - 29.06.2012, 16:21
Re: "return 0" issue. - by iGetty - 29.06.2012, 16:57

Forum Jump:


Users browsing this thread: 4 Guest(s)