SA-MP Forums Archive
Error al compilar - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: EspaƱol/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Error al compilar (/showthread.php?tid=294648)



Error al compilar - Magnetto - 02.11.2011

C:\Users\Alex\Downloads\Samp\gm.pwn(1222) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Alex\Downloads\Samp\gm.pwn(1430) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Alex\Downloads\Samp\gm.pwn(1436) : error 009: invalid array size (negative, zero or out of bounds)


1222
Quote:

new Float:vehTrunkArmour[MAX_VEHICLES];

1430-1436 (en negrita las lineas respectivas)
Quote:

new
engineOn[MAX_VEHICLES],
LightsOn[MAX_VEHICLES],
BootOpen[MAX_VEHICLES],
BonnetOpen[MAX_VEHICLES],
gEngine[MAX_PLAYERS],
NoWheels[MAX_VEHICLES],
Alarm[MAX_VEHICLES];