Hi leute ich hab mal wider ein problem
ich will das zb nur oamt die autosfahren können (das ist nur ein teil) aber hier kommt scho der error
//Autos
new ocar[19];
//OAMT Fahrzeuge
ocar[1]=AddStaticVehicleEx(443,1597.60009766,-1605.22827148,13.98241425,88.85498047,1,1,15); //Packer
ocar[2]=AddStaticVehicleEx(443,1597.12658691,-1611.45922852,13.98241425,88.85192871,1,1,15); //Packer
ocar[3]=AddStaticVehicleEx(443,1597.05688477,-1618.97485352,13.98241425,88.85192871,1,1,15); //Packer
ocar[4]=AddStaticVehicleEx(525,1530.31994629,-1688.04223633,5.78062439,271.15997314,1,1,15); //Tow Truck
ocar[5]=AddStaticVehicleEx(525,1530.25146484,-1684.39184570,5.75562429,271.15905762,-1,-1,15); //Tow Truck
ocar[6]=AddStaticVehicleEx(525,1544.11767578,-1684.18127441,5.75562429,90.25915527,-1,-1,15); //Tow Truck
ocar[7]=AddStaticVehicleEx(525,1544.11352539,-1680.43066406,5.88062477,90.25817871,-1,-1,15); //Tow Truck
ocar[8]=AddStaticVehicleEx(525,1544.10913086,-1676.18066406,5.73062420,90.25817871,-1,-1,15); //Tow Truck
ocar[9]=AddStaticVehicleEx(525,1544.10424805,-1671.93066406,5.78062439,90.25817871,-1,-1,15); //Tow Truck
ocar[10]=AddStaticVehicleEx(525,1544.09936523,-1667.68066406,5.75562429,90.25817871,-1,-1,15); //Tow Truck
ocar[11]=AddStaticVehicleEx(552,1544.26574707,-1663.06115723,5.66753292,90.07501221,1,1,15); //Utility
ocar[12]=AddStaticVehicleEx(552,1544.39794922,-1659.24279785,5.54253244,90.07141113,-1,-1,15); //Utility
ocar[13]=AddStaticVehicleEx(552,1544.32177734,-1654.62670898,5.54253244,90.07141113,-1,-1,15); //Utility
ocar[14]=AddStaticVehicleEx(574,1547.57080078,-1651.24194336,5.60955811,0.00000000,1,1,15); //Sweeper
ocar[15]=AddStaticVehicleEx(574,1544.55834961,-1651.11865234,5.60955811,0.00000000,-1,-1,15); //Sweeper
ocar[16]=AddStaticVehicleEx(574,1541.56347656,-1651.29541016,5.62956095,0.00000000,-1,-1,15); //Sweeper
ocar[17]=AddStaticVehicleEx(458,1538.41784668,-1644.18347168,5.76083469,179.90008545,1,1,15); //Solair
ocar[18]=AddStaticVehicleEx(458,1534.91699219,-1644.22705078,5.76083469,179.89562988,1,1,15); //Solair
ocar[19]=AddStaticVehicleEx(579,1530.50683594,-1646.24060059,5.78926182,180.59997559,1,1,15); //Huntley
//OAMT Fahrzeuge
da kommt dieser error:
error 032: array index out of bounds (variable "ocar")