Array out of bounds?
#3

Quote:
Originally Posted by Kitten
Посмотреть сообщение
pawn Код:
CarID[5];
Float: CarPos1[1],
Float: CarPos2[2],
Float: CarPos3[3],
Float: CarAngle[4] // try now.
Most of the errors went away, but I still have one... CarModel[3]. Should I do CarModel[6]?

And I got all the errors here:

pawn Код:
mysql_fetch_field_row(string, "car1x"); pStats[playerid][CarPos1][1] = strval(string);
Here are all the errors

pawn Код:
ERP.pwn(356) : warning 215: expression has no effect
ERP.pwn(356) : error 001: expected token: ";", but found "["
ERP.pwn(356) : error 029: invalid expression, assumed zero
ERP.pwn(356) : warning 215: expression has no effect
ERP.pwn(356) : error 001: expected token: ";", but found "]"
ERP.pwn(356) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Array out of bounds? - by Nuke547 - 15.04.2012, 00:39
Re: Array out of bounds? - by Kitten - 15.04.2012, 00:42
Re: Array out of bounds? - by Nuke547 - 15.04.2012, 00:50
Re: Array out of bounds? - by Nuke547 - 15.04.2012, 01:05
Re: Array out of bounds? - by ScottCFR - 15.04.2012, 01:34
Re: Array out of bounds? - by Nuke547 - 15.04.2012, 01:43
Re: Array out of bounds? - by Nuke547 - 15.04.2012, 04:41
Re: Array out of bounds? - by Rachael - 15.04.2012, 04:54
Re: Array out of bounds? - by Nuke547 - 15.04.2012, 05:02
Re: Array out of bounds? - by Daniel-92 - 15.04.2012, 05:08

Forum Jump:


Users browsing this thread: 1 Guest(s)