Error 08 and Erro 029 -
LegendNissanGTR - 19.10.2010
error 008: must be a constant expression; assumed zero
on the line
};
error 029: invalid expression, assumed zero
on the line
};
Please Help
Re: Error 08 and Erro 029 -
iggy1 - 19.10.2010
You will need to show more code than that m8. Often the error isn't on the line it says it is.
Re: Error 08 and Erro 029 -
LegendNissanGTR - 19.10.2010
Okay This Is The Whole Code
new TruckingMissionRandom[][TruckingMissionInfo] =
{
// {"Mission Text", UseTrailerCheck, MissionPay, loadx, loady, loadz, unloadx, unloady, unloadz}
/* KEY:
** "Mission Text" = The text the player will see when he/she is doing the mission!
** UseTrailerCheck = Weather or not the mission requires you use a vehile that has a trailer. Ex: Roadtrain with an Artict1 trailer!
** MissionPay = The amount the player will recive for doing there mission!
** loadx, loady, and loadz = The loading coordinates of the loading checkpoint!
** unloadx, unloadx, unloadx = The un-loading coordinates of the unloading checkpoint!
*/
{"We need a load of Holy Water from LVA Freight Depot to LVA Church", true, 250, 1701.9475,940.5465,10.8203, 1496.2524,772.1427,10.8203},
{"We need a load of Junk Car Parts from LVA Freight Depot to Shody Ottos", true, 500, 1701.9475,940.5465,10.8203, 1727.6351,1812.1750,10.8203},
{"We need a load of Drills From LS Dock Warehouse 2 To Whetstone Mine", true, 9000, 2777.9772949219, -2455.0886230469, 13.285285949707, -1875.4030761719, -1688.1228027344, 21.399225234985},
{"We need a load of Top Secret Devices From Randolf Industrial Estate To Area 69", true, 5000, 1594.1290283203, 724.00372314453, 10.469537734985, 134.54122924805, 1945.7899169922, 19.001808166504},
{"We need a load of Boxes From LV Depot To SF Depot", true, 7500, 1723.5736083984, 979.20190429688, 10.469537734985, -2129.4470214844, -84.854187011719, 34.969539642334},
{"We need a load of Propellers From Ls Dock Warehouse 1 To Verdant Meadows", true, 8000, 2777.7497558594, -2417.4836425781, 13.285341262817, 377.30389404297, 2534.0485839844, 16.250215530396},
{"We need a load of Soldiers Mail From Area 69 To 5 Tree Logistics", true, 6500, 134.54122924805, 1945.7899169922, 19.001808166504, -493.13043212891, -514.57434082031, 25.167068481445},
{"We need a load of Landing Gears From 5 Tree Logistics To Las Venturas Airport", true, 8000, -493.13043212891, -514.57434082031, 25.167068481445, 1627.9038085938, 1611.8803710938, 20.285793304443},
{"We need a load of Oxegen Canisters From RS Haul To SF Air", true, 7000, -83.956573486328, -1126.0145263672, 0.73391342163086, -1447.4144287109, -437.23773193359, 5.5075283050537},
{"We need a load of Radars From Verdant Meadows To San Fierro Airport", true, 8500, 377.30389404297, 2534.0485839844, 16.250215530396, -1447.4144287109, -437.23773193359, 5.5075283050537},
};
Re: Error 08 and Erro 029 -
iggy1 - 19.10.2010
Try
pawn Код:
ew TruckingMissionRandom[][TruckingMissionInfo] =
{
// {"Mission Text", UseTrailerCheck, MissionPay, loadx, loady, loadz, unloadx, unloady, unloadz}
/* KEY:
** "Mission Text" = The text the player will see when he/she is doing the mission!
** UseTrailerCheck = Weather or not the mission requires you use a vehile that has a trailer. Ex: Roadtrain with an Artict1 trailer!
** MissionPay = The amount the player will recive for doing there mission!
** loadx, loady, and loadz = The loading coordinates of the loading checkpoint!
** unloadx, unloadx, unloadx = The un-loading coordinates of the unloading checkpoint!
*/
{"We need a load of Holy Water from LVA Freight Depot to LVA Church", true, 250, 1701.9475,940.5465,10.8203, 1496.2524,772.1427,10.8203},
{"We need a load of Junk Car Parts from LVA Freight Depot to Shody Ottos", true, 500, 1701.9475,940.5465,10.8203, 1727.6351,1812.1750,10.8203},
{"We need a load of Drills From LS Dock Warehouse 2 To Whetstone Mine", true, 9000, 2777.9772949219, -2455.0886230469, 13.285285949707, -1875.4030761719, -1688.1228027344, 21.399225234985},
{"We need a load of Top Secret Devices From Randolf Industrial Estate To Area 69", true, 5000, 1594.1290283203, 724.00372314453, 10.469537734985, 134.54122924805, 1945.7899169922, 19.001808166504},
{"We need a load of Boxes From LV Depot To SF Depot", true, 7500, 1723.5736083984, 979.20190429688, 10.469537734985, -2129.4470214844, -84.854187011719, 34.969539642334},
{"We need a load of Propellers From Ls Dock Warehouse 1 To Verdant Meadows", true, 8000, 2777.7497558594, -2417.4836425781, 13.285341262817, 377.30389404297, 2534.0485839844, 16.250215530396},
{"We need a load of Soldiers Mail From Area 69 To 5 Tree Logistics", true, 6500, 134.54122924805, 1945.7899169922, 19.001808166504, -493.13043212891, -514.57434082031, 25.167068481445},
{"We need a load of Landing Gears From 5 Tree Logistics To Las Venturas Airport", true, 8000, -493.13043212891, -514.57434082031, 25.167068481445, 1627.9038085938, 1611.8803710938, 20.285793304443},
{"We need a load of Oxegen Canisters From RS Haul To SF Air", true, 7000, -83.956573486328, -1126.0145263672, 0.73391342163086, -1447.4144287109, -437.23773193359, 5.5075283050537},
{"We need a load of Radars From Verdant Meadows To San Fierro Airport", true, 8500, 377.30389404297, 2534.0485839844, 16.250215530396, -1447.4144287109, -437.23773193359, 5.5075283050537}
};
You dont need a "," (comma) on the last initialisation.
Re: Error 08 and Erro 029 -
LegendNissanGTR - 19.10.2010
it works thanks man
Re: Error 08 and Erro 029 -
Slice - 19.10.2010
By the way, the thing you did wrong was putting a comma after the last entry in the array.
Re: Error 08 and Erro 029 -
iggy1 - 19.10.2010
Like i said