4 errors on one line, help please!
#1

Alright I got these errors:
Код:
C:\Users\Sonny\Documents\scripting suite\New LSRRP\LSRRP2(16933) : error 028: invalid subscript (not an array or too many subscripts): "iIndex"
C:\Users\Sonny\Documents\scripting suite\New LSRRP\LSRRP2(16933) : warning 215: expression has no effect
C:\Users\Sonny\Documents\scripting suite\New LSRRP\LSRRP2(16933) : error 001: expected token: ";", but found "]"
C:\Users\Sonny\Documents\scripting suite\New LSRRP\LSRRP2(16933) : error 029: invalid expression, assumed zero
C:\Users\Sonny\Documents\scripting suite\New LSRRP\LSRRP2(16933) : fatal error 107: too many error messages on one line
on this line:
Код:
FamilyVehicleInfo[f][fv][fvColor1] = 126;
Reply
#2

Remove [fv] most likely.

@Derp - I didn't scroll all the way over Konst.... it looked like there was too many dimensions I thought he was looping there
Reply
#3

It says about "iIndex", do you use iIndex in the above/below line at all?

If the error was about that line, then it'd say about "FamilyVehicleInfo" and that would mean that it was not 3D [f][fv][fvColor1].
Reply
#4

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
Remove [fv] most likely.
But that [fv] is in almost every 5 lines before that which are not giving errors:

Код:
 FamilyVehicleInfo[f][fv][fvModelId] = 0;
			FamilyVehicleInfo[f][fv][fvSpawnx] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawny] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawnz] = 0.0;
			FamilyVehicleInfo[f][fv][fvSpawna] = 0.0;
			FamilyVehicleInfo[f][fv][fvPaintJob] = -1;
			FamilyVehicleInfo[f][fv][fvColor1] = 126; //<<<<Line with error
			FamilyVehicleInfo[f][fv][fvColor2] = 126;
			FamilyVehicleInfo[f][fv][fvPrice] = 0;
			FamilyVehicleInfo[f][fv][fvFuel] = 100.00;
	    	FamilyVehicleInfo[f][fv][fvId] = INVALID_VEHICLE_ID;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)