Szerző Téma: fuvar bug  (Megtekintve 1287 alkalommal)

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
fuvar bug
« Dátum: 2013. április 18. - 21:24:59 »
0 Show voters
ÜdV: Valaki meg tudná mondani mért nem adja be a rakodást és a lerakodtást?
 
/ Setup a custom type that holds all data about a location on the map (used for missions)
//{\"asd1\",256.8013,2985.9453,-1.0002}, //vascsövek R 147
//{\"asd2\",248.8672,2984.9473,-0.7812}, //Tégla R 148
//{\"asd3\",241.9697,2984.0647,-0.9437}, // Benzin hordóba R 149
//{\"asd4\",234.0562,2986.1377,-1.1707}, //Betonbhengerek R 150
//{\"asd5\",268.9752,2936.4092,0.0430}, //Vasgerendák R 151
//{\"asd6\",2521.5381,509.2180,-0.2678}, //Benzin hordóba LR 152
//{\"asd7\",2505.6594,509.2868,-0.4027}, //Benzin R 153
//{\"asd8\",2532.2507,502.0985,-0.4684}, //vasgerendák LR 154
//{\"asd9\",2539.8274,488.7192,-0.4902}, //Betinhenger LR 155
//{\"asd10\",2539.5398,469.2506,-0.4314}, //Vascsövek LR 156
//   {\"asd11\",-168.1920,-5437.8105,-0.7527}, //Benzin LR 157
//   {\"asd12\",-162.4490,-5463.3516,-1.1361}, //Benzin hordóba R 158
//   {\"asd13\",-149.1858,-5498.9072,-0.0908}, //Betonhenger R 159
////   {\"asd14\",-158.9667,-5496.6270,-0.2407}, //Vasgerendák R 160
//   {\"asd15\",-162.7208,-5426.9897,-1.3655}, //Benzin LR 161
//   {\"asd16\",251.6559,3039.8398,-0.7278}, //Benzin LR 162
enum TLocation
{
LocationName[50], // The name of the location
Float:LocX, // The X-position of the location
Float:LocY, // The Y-position of the location
Float:LocZ // The Z-position of the location
}
// Setup an array that holds all location-data (except taxi and busdriver classes, these have their own locations)
new ALocations[][TLocation] =
{
// LocationName, LocationX, LocationY, LocationZ
{\"Dummy location\", 0.0, 0.0, 0.0}, // Location 0 = dummy location (never used)
{\"LS Épitkezés\", 1859.0, -1314.0, 14.0}, // Location 1
{\"SF Épitkezés\", -2083.0, 209.0, 35.5}, // Location 2
{\"LV Épitkezés\", 2708.0, 878.0, 10.0}, // Location 3
{\"Avery Épitkezés\", 312.25, -233.75, 1.6}, // Location 4
{\"Clown\'s Pocket Constr.\", 2467.0, 1923.0, 9.8}, // Location 5
{\"Solarin Industries\", -1822.5, 41.25, 15.25}, // Location 6
{\"Blueberry Truck Terminal\", 52.75, -278.0, 1.7}, // Location 7
{\"KACC Üzemanyaggyár\", 2529.5559,2733.0906,10.3130}, // Location 8
{\"SA Federal Mint\", -2441.0, 521.5, 30.0}, // Location 9
{\"Angel Pine Sawmill\", -1965.75, -2436.0, 30.7}, // Location 10
{\"Quarry\", 587.25, 844.75, -42.5}, // Location 11
{\"Bánya\", 370.0, 874.0, 20.5}, // Location 12
{\"Easter Bay Lumberyard\", -763.5, -136.0, 65.7}, // Location 13
{\"LS Papermill\", 2331.5, -2071.5, 13.6}, // Location 14
{\"Sprunk Factory\", 1334.75, 287.0, 19.6}, // Location 15
{\"SF Medical Center\", -2607.0, 684.0, 27.9}, // Location 16
{\"Angel Pine Junkyard\", -1873.0, -1685.0, 21.8}, // Location 17
{\"LV Freight Depot\", 599.5, 1224.75, 11.8}, // Location 18
{\"LS Garbage Compound\", 2181.0, -1980.5, 13.6}, // Location 19
{\"LV Industrial Estate\", 1635.75, 750.5, 11.0}, // Location 20
{\"EasterBoard Farm\", -69.5, -35.75, 3.2}, // Location 21
{\"SF Hill Farm\", -1423.5, -1469.0, 101.7}, // Location 22
{\"Pecker\'s Feed & Seed\", -310.5, 2669.5, 62.7}, // Location 23
{\"San Fierro Port\", -1691.0, 31.5, 3.6}, // Location 24
{\"LV Refinery\", 262.5, 1453.75, 10.6}, // Location 25
{\"LS Refinery\", 2484.0, -2085.0, 13.6}, // Location 26
{\"Countryside Gas Station\", -86.0, -1192.75, 2.0}, // Location 27
{\"SF Xoomer Gas Station\", -1659.0, 444.0, 7.2}, // Location 28
{\"SF Gas Station\", -2421.5, 953.25, 45.3}, // Location 29
{\"LS Going Station\", 1926.0, -1791.5, 13.5}, // Location 30
{\"Xoomer Gas Station\", -1488.75, 1875.25, 32.7}, // Location 31
{\"Whetstone Gas Station\", -1629.0, -2700.0, 48.6}, // Location 32
{\"Desert Gas Station\", -1309.5, 2703.75, 50.1}, // Location 33
{\"Dilimore Gas Station\", 664.5, -583.75, 16.4}, // Location 34
{\"Abandoned Airport Fuel\", 387.9, 2590.25, 16.5}, // Location 35
{\"San Fierro International\", -1152.25, -146.5, 14.2}, // Location 36
{\"Easter Bay Chemical\", -1033.75, -625.25, 32.1}, // Location 37
{\"LS Ocean Docks\", 2466.0, -2219.25, 13.6}, // Location 38
{\"Bioengineering Corp.\", 1347.5, 349.5, 20.0}, // Location 39
{\"Greenglass College\", 999.0, 1086.75, 11.0}, // Location 40
{\"Fleischberg Brewery\", -149.75, -220.25, 1.5}, // Location 41
{\"Bayside Boatyard\", -2430.75, 2310.5, 5.0}, // Location 42
{\"LV Butcher\", 977.5, 2096.75, 11.0}, // Location 43
{\"SF Catering LTD\", -1945.75, -1073.5, 31.0}, // Location 44
{\"LS Donut shop\", 1025.75, -1355.0, 13.8}, // Location 45
{\"Porter\'s House\", 2439.75, 114.5, 26.5}, // Location 46
{\"Chuckup LTD\", 1470.5, 1017.5, 10.9}, // Location 47
{\"LS Warehouse\", 2178.5, -2279.75, 13.6}, // Location 48
{\"SF Supa Save\", -2463.5, 782.0, 35.2}, // Location 49
{\"Verona Mall\", 1044.75, -1548.75, 13.6}, // Location 50
{\"Las Venturas Mall\", 2867.25, 2586.0, 10.7}, // Location 51
{\"Vank Hoff Hotel\", -2490.75, 337.5, 33.4}, // Location 52
{\"Emerald Mall\", 2056.75, 2251.25, 10.7}, // Location 53
{\"LS Ocean Docks\", 2574.25, -2223.75, 13.4}, // Location 54
{\"Bayside Warehouse\", -2285.0, 2281.5, 5.0}, // Location 55
{\"Fleischberg Brewery\", -18.5, -282.0, 5.5}, // Location 56
{\"Las Venturas Stadium\", 1377.5, 2245.75, 10.9}, // Location 57
{\"P. Creek General Store\", 2318.0, -92.5, 26.5}, // Location 58
{\"LV Dirtring Stadium\", 1112.0, 1451.75, 5.9}, // Location 59
{\"The Pleasure Domes\", -2697.0, 1402.5, 7.2}, // Location 60
{\"4 Dragons Casino\", 1903.75, 960.5, 10.9}, // Location 61
{\"SF Financial Center\", -2039.5, 467.5, 35.2}, // Location 62
{\"Area 69\", 134.54, 1945.79, 19.00}, // Location 63
{\"Bayside szeméttelep\", -2369.1785,2400.6396,8.0003}, //64
{\"Bayside1\",-2522.5625,2356.9229,4.9846}, //153
{\"Bayside2\",-2610.0659,2342.2822,8.3864}, //154
{\"Bayside3\",-2462.8801,2518.6101,16.8213}, //155
{\"Bayside4\",-2253.7051,2365.8013,4.9899}, //156
    {\"Bayside5\",-2530.8037,2291.3586,4.9844}, //157
    {\"LV szeméttelep\",2818.1975,2706.9407,10.8203}, //158
    {\"LV1\",2552.5693,2238.5203,10.5255},//159
    {\"LV2\",2522.3423,2321.7043,10.5278},//160
    {\"LV3\",2377.4163,2238.8933,10.5252},//161
    {\"LV4\",2259.1077,2286.0381,10.4531},//162
    {\"LV5\",1661.1730,2167.6858,10.5234},//163
    {\"LV6\",1700.4750,1268.6523,10.5211},//164
    {\"LV7\",2656.2083,1948.5350,10.5242},//165
    {\"LV8\",2776.8896,2532.0505,10.6020},//166
    {\"LV9\",2816.3018,2599.6528,10.6003},//167
    {\"SF szeméttelep\",-2553.0466,1437.6163,7.1172},//168
    {\"SF1\",-2581.3083,1359.8815,6.7418},//169
    {\"SF2\",-2408.4863,1385.0991,6.7359},//170
    {\"SF3\",-2272.2361,1342.5118,6.7308},//171
    {\"SF4\",-2153.2231,1340.6471,6.7376},//172
    {\"SF5\",-2074.6001,1327.4072,6.6678},//173
    {\"SF6\",-2280.8618,1221.4768,48.4237},//174
    {\"SF7\",-2243.6975,1169.6740,55.4030},//175
    {\"SF8\",-2274.0750,1036.7260,83.3913},//176
    {\"SF9\",-2377.1621,804.5245,34.6474},//177
    {\"SF10\",-2531.3960,720.8549,27.7312},//178
    {\"SF11\",-2529.9722,837.2560,49.4822},//179
    {\"SF12\",-2521.6343,896.4390,64.3978},//180
    {\"SF13\",-2532.5212,936.2451,64.6347},//181
    {\"SF14\",-2532.1404,1084.2366,55.3450},//182
    {\"Angel Pine szeméttelep\",-1873.5803,-1674.6334,21.3749},//183
    {\"Angel Pine1\",-2135.3667,-2256.2854,30.2569},//184
    {\"Angel Pine2\",-2092.8357,-2349.2297,30.2498},//185
    {\"Angel Pine3\",-2114.2915,-2428.8147,30.1685},//186
    {\"Angel Pine4\",-2104.8149,-2453.9885,30.2497},//187
    {\"Angel Pine5\",-2099.0439,-2483.3933,30.2508},//188
    {\"Angel Pine6\",-2142.6299,-2466.4949,30.2500},//189
    {\"Angel Pine7\",-2131.0679,-2453.9861,30.2487},//190
    {\"Angel Pine8\",-2182.2371,-2451.9690,30.0947},//191
    {\"Angel Pine9\",-2174.2910,-2441.7822,30.0936},//192
    {\"Angel Pine10\",-2172.5564,-2427.7783,30.2499},//193
    {\"Angel Pine11\",-2214.5642,-2333.4319,30.2492},//194
    {\"LS szeméttelep\",2180.7380,-1982.5576,13.5514},//195
    {\"LS1\",2290.4746,-2118.2710,13.1719},//196
    {\"LS2\",1916.8707,-2122.2212,13.2108},//197
    {\"LS3\",1917.2539,-2086.6628,13.2053},//198
    {\"LS4\",2398.8982,-1726.4392,13.1870},//199
    {\"LS5\",2488.7932,-1682.4401,12.9603},//200
    {\"LS6\",2503.6223,-1660.6345,13.0183},//201
    {\"LS7\",2491.1909,-1657.2974,12.9858},//114
    {\"AngelPine GAS benzinkut\",-2251.4038,-2558.4998,31.8875}, // 115
 
{\"Busstop\", 1067.00, 1357.75, 10.7}, // Location 64
{\"Busstop\", 1324.75, 1190.75, 10.7}, // Location 65
{\"Busstop\", 1544.00, 1135.50, 10.7}, // Location 66
{\"Busstop\", 1603.50, 1130.50, 10.7}, // Location 67
{\"Busstop\", 1722.50, 1373.25, 10.5}, // Location 68
{\"Busstop\", 1714.25, 1421.75, 10.5}, // Location 69
{\"Busstop\", 1010.00, 1411.25, 10.7}, // Location 70
{\"Busstop\", 1726.50, 1481.75, 10.7}, // Location 71
{\"Busstop\", 1729.50, 1529.50, 10.7}, // Location 72
{\"Busstop\", 1705.00, 1965.00, 10.7}, // Location 73
{\"Busstop\", 1385.00, 1920.00, 10.7}, // Location 74
{\"Busstop\", 1335.25, 2055.50, 10.7}, // Location 75
{\"Busstop\", 1073.00, 2055.50, 10.7}, // Location 76
{\"Busstop\", 1502.25, 2055.50, 10.7}, // Location 77
{\"Busstop\", 1565.00, 2200.25, 10.7}, // Location 78
{\"Busstop\", 1636.25, 2175.50, 10.7}, // Location 79
{\"Busstop\", 1503.50, 2311.00, 10.7}, // Location 80
{\"Busstop\", 1564.75, 2345.75, 10.7}, // Location 81
{\"Busstop\", 1725.00, 2247.75, 10.7}, // Location 82
{\"Busstop\", 1894.50, 2175.50, 10.7}, // Location 83
{\"Busstop\", 1925.25, 2314.75, 10.7}, // Location 84
{\"Busstop\", 1925.25, 2115.75, 10.8}, // Location 85
{\"Busstop\", 2083.50, 2455.50, 10.7}, // Location 86
{\"Busstop\", 2285.00, 2315.00, 10.7}, // Location 87
{\"Busstop\", 2305.00, 2515.50, 10.7}, // Location 140
{\"Busstop\", 2392.00, 2415.50, 10.7}, // Location 89
{\"Busstop\", 2425.00, 2285.00, 10.7}, // Location 90
{\"Busstop\", 2449.75, 2235.50, 10.7}, // Location 91
{\"Busstop\", 2580.25, 2115.50, 10.7}, // Location 92
{\"Busstop\", 2447.50, 2055.50, 10.7}, // Location 93
{\"Busstop\", 2115.00, 755.50, 10.7}, // Location 94
{\"Busstop\", 2019.75, 750.50, 10.7}, // Location 95
{\"Busstop\", 1975.00, 775.50, 10.7}, // Location 96
{\"Busstop\", 1885.00, 770.75, 10.7}, // Location 97
{\"Busstop\", 1894.00, 635.75, 10.7}, // Location 150
{\"Busstop\", 1974.25, 631.00, 10.7}, // Location 99
{\"Busstop\", 2020.50, 670.50, 10.7}, // Location 100
{\"Busstop\", 2114.75, 675.75, 10.7}, // Location 101
{\"Busstop\", 1084.75, 1196.00, 10.7}, // Location 154
{\"Busstop 1 Bayside\", -2565.75, 2315.25,    4.83}, // Location 103
{\"Busstop 2 Bayside\", -2337.00, 2375.00,    5.59}, // Location 104
{\"Busstop 1 El Quebrados\", -1467.00, 2674.00,   55.68}, // Location 105
{\"Busstop 2 El Quebrados\", -1528.50, 2548.00,   55.68}, // Location 106
{\"Busstop 1 Las Barrancas\", -805.64, 1562.30,   26.96}, // Location 107
{\"Busstop 2 Las Barrancas\", -847.00, 1529.50,   21.66}, // Location 160
{\"Busstop Las Payasdas\", -269.00, 2625.75,   62.64}, // Location 109
{\"Busstop 1 Fort Carson\",  -45.37, 1200.68,   19.21}, // Location 110
{\"Busstop 2 Fort Carson\", -100.50, 1195.75,   19.58}, // Location 111
{\"Busstop 3 Fort Carson\", -249.50, 1016.00,   19.59}, // Location 112
{\"Busstop 1 Angel Pine\", -2169.75, -2305.75,   30.46}, // Location 113
{\"Busstop 2 Angel Pine\", -2098.25, -2499.50,   30.46}, // Location 114
{\"Busstop 1 Palomino Creek\", 2263.75,  -30.75,   26.33}, // Location 115
{\"Busstop 2 Palomino Creek\", 2461.75,    1.00,   26.33}, // Location 116
{\"Busstop 1 Montgomery\", 1288.50,  329.00,   19.40}, // Location 117
{\"Busstop 2 Montgomery\", 1286.75,  323.75,   19.40}, // Location 170
{\"Busstop 1 Dillimore\",  736.00, -527.50,   16.18}, // Location 119
{\"Busstop 2 Dillimore\",  736.00, -532.50,   16.18}, // Location 120
{\"SF Airport Gate\", -1337.94, -222.79,   14.14}, // ID = 121
{\"SF Airport Gate\", -1395.26, -104.20,   14.14}, // ID = 122
{\"SF Airport Cargo Bay\", -1337.16, -542.29,   14.14}, // ID = 123
{\"SF Airport Cargo Bay\", -1412.96, -579.85,   14.14}, // ID = 124
{\"LS Airport Gate\", 1747.04, -2441.04,   13.55}, // ID = 125
{\"LS Airport Gate\", 1902.16, -2350.11,   13.54}, // ID = 126
{\"LS Airport Cargo Bay\", 1889.10, -2625.49,   13.54}, // ID = 127
{\"LS Airport Cargo Bay\", 1754.74, -2622.69,   13.54}, // ID = 180
{\"LS Airport Cargo Bay\", 1617.61, -2622.30,   13.54}, // ID = 129
{\"LV Airport Gate\", 1564.77, 1536.77,   10.82}, // ID = 130
{\"LV Airport Gate\", 1569.85, 1358.58,   10.86}, // ID = 131
{\"LV Airport Cargo Bay\", 1307.41, 1324.01,   10.82}, // ID = 132
{\"LV Airport Cargo Bay\", 1308.47, 1361.32,   10.82}, // ID = 133
{\"Verdant Meadows Gate\", 392.13, 2531.27, 16.54}, // ID = 134
{\"Verdant Meadows Cargo Bay\", 291.08, 2525.75, 16.79}, // ID = 135
{\"TestRock\", 351.5, 1008.75, 28.4}, // ID = 136
{\"TestCP\", 344.75, 1020.5, 28.3}, // ID = 189
{\"Vasutállomás\",601.3481,1206.2527,11.7188}, // Kox Lerakodás 190
{\"Bánya fent\",371.9308,880.1357,20.3990}, // 191
{\"Bánya kapu\",866.5075,857.8689,13.3516}, //192
{\"Bánya kapu\",893.1061,877.4375,13.3516}, //193
{\"Salak depó\",613.5944,944.1698,-7.3731}, //194
{\"Bánya osztályzó\",698.0740,842.7642,-27.6088}, //195
{\"Bánya osztályzó\",684.3479,821.8713,-27.3116}, //196
{\"Bánya lent\",510.0340,799.8667,-21.9453}, //197
{\"Bánya Salakkiégetõ\",672.8630,895.4267,-40.3273}, //198
{\"Bánya lent\",537.2725,907.2144,-42.9609}, //199
{\"Furótorony\",2138.7700,-3720.0791,14.0547}, // 200
{\"San Fierró-i vonatmegálló\",-1946.3340,114.5342,25.7186}, // 201
{\"Los Santos-i vonatmegálló\",839.0564,-1391.2054,-1.6183}, // 202
{\"Los Santos-i vonatmegálló\",1773.7065,-1955.5391,13.5469}, // 203
{\"Külvárosi vonatmegálló\",2824.0334,93.2304,25.8723}, // 204
{\"Las Vegas-i vonatmegálló\",2866.7578,1301.0490,10.8203}, // 205
{\"Las Vegas-i vonatmegálló\",1404.5134,2634.2705,10.8203}, // 206
    {\"Lindes Side\",3647.0688,-2010.3041,2.4000}, //207
    {\"Lindes Side\",4491.2520,-2016.2899,2.5500}, //208
    {\"Lindes Side\",4465.4702,-2143.6313,2.5750}, //209
    {\"Lindes Side\",4160.3315,-3055.8186,20.4530}, //210
    {\"Lindes Side\",4123.6152,-2656.7488,8.1483}, //211
    {\"Lindes Side\",-4279.0981,-3320.5730,3.9688}, //212
    {\"Lindes Side\",3580.9597,-3061.2158,8.3362},//213
    {\"Lindes Side\",3616.7778,-3080.0098,8.4690},//214
    {\"Lindes Side\",3577.8650,-3061.9504,8.3362},//215
    {\"Lindes Side\",3614.7207,-3078.9690,8.4690},//216
    {\"Lindes Side\",-4173.1069,-3351.0173,3.9688},//217
    {\"Lindes Side\",-4173.0918,-3351.3442,3.9688}, //218
   
    {\"SF Nevara Sziget\",-4245.8931,-1107.3492,5.8216},// 219
    {\"SF Nevara Tüzép\",-4273.6577,-3327.9456,3.9688},// 220
    {\"SF Nevara Víz Tisztító\",-3091.1179,-1202.5186,12.2266},// 221
    {\"LV Medence\",550.9822,-3074.8516,11.9688},// 222
    {\"AVISPA CLUB\",-2653.2632,-289.6893,7.5435},// 223
    {\"LS Fürdõ\",444.1619,-2860.4143,12.0219}, // 224
    {\"LS Tuningolo\",-2713.0481,199.8991,4.3281},// 225
    {\"LS Sziget\",2458.4958,-4181.3550,13.8702},// 226
    {\"LV NEW Island\",5271.4155,1935.4825,2.7606},// 227
    {\"LV Kaszkabelesz Raktar\",4703.2256,2722.9180,12.2142},// 228
{\"SF Nevara Raktár\",4145.8223,-2675.8835,7.9900}, //229
{\"Ls Sziget Benzinkut\",4922.8521,2337.2349,2.1828},//300
{\"LS Magén reptér\",375.1036,-2238.0950,8.7000},// 301
{\"LS Olaj Finomító\",2138.7700,-3720.0791,14.0547},// 302
{\"LS Olaj Raktár\",2607.3049,-4058.1902,13.7281} // 303
};

 

// Setup a custom type that holds all data about a load
enum TLoad
{
LoadName[50], // The name of the load
bool:Mafia, // Holds \"true\" if this load is wanted by the mafia
Float:PayPerUnit, // Holds the price for every meter to haul this type of load (this gets multiplied by the distance to calculate the payment)
PCV_Required, // This holds the vehicle-type the player needs to use this load (and automatically the player\'s class)
FromLocations[30], // This array holds all loading-points for this load
ToLocations[30] // This array holds all unloading-points for this load
}
new ALoads[][TLoad] =
{
// LoadName, MafiaLoad, PayPerUnit, VehicleNeeded, From-Locations, To-Locations
// Dummy Load (never used)
{\"Dummy\", false, 0.00, 0, {0}, {0}}, // LoadID 0 114+
// Loads for ore trailer
{\"Kõ\", false, 14.10, PCV_TruckerOreTrailer, {11, 215}, {1, 2, 3}}, // LoadID 1
{\"Homok\", false, 16.10, PCV_TruckerOreTrailer, {12, 216}, {1, 2, 3, 4, 5}}, // LoadID 2
{\"Szikla\", false, 15.10, PCV_TruckerOreTrailer, {11}, {1, 2, 3, 4, 5}}, // LoadID 3
{\"Szén\", false, 14.10, PCV_TruckerOreTrailer, {12}, {6, 7, 8}}, // LoadID 4
{\"Érc\", false, 17.00, PCV_TruckerOreTrailer, {12}, {6, 9}}, // LoadID 5
{\"Napló\", false, 14.10, PCV_TruckerOreTrailer, {13}, {7, 10}}, // LoadID 6
{\"Faapriték\", false, 12.10, PCV_TruckerOreTrailer, {10}, {14}}, // LoadID 7
{\"Szemét\", false, 13.10, PCV_TruckerOreTrailer, {6, 15, 16}, {17, 18, 19}}, // LoadID 8
{\"Törmelék\", false, 15.10, PCV_TruckerOreTrailer, {17, 19}, {6, 18, 20}}, // LoadID 9
{\"Takarmány\", false, 14.10, PCV_TruckerOreTrailer, {21, 22}, {18, 23, 24}}, // LoadID 10
// Loads for liquids trailer
{\"Benzin\", true, 14.70, PCV_TruckerFluidsTrailer, {8, 25, 26}, {27, 28, 29, 30, 31, 32, 33, 34, 115, 207}}, // LoadID 11
{\"Gázolaj\", true, 14.00, PCV_TruckerFluidsTrailer, {8, 25, 26}, {27, 28, 29, 30, 31, 32, 33, 34, 115, 207}}, // LoadID 12
{\"Repülõgépi benzin\", true, 15.00, PCV_TruckerFluidsTrailer, {8, 25, 26}, {35, 36, 301}},  // LoadID 13
{\"Olaj\", false, 16.20, PCV_TruckerFluidsTrailer, {8, 25, 26, 200}, {6, 27, 28, 29, 30, 31, 32, 33, 34, 207}}, // LoadID 14
{\"Folyékony Nitrogén\", false, 14.00, PCV_TruckerFluidsTrailer, {37, 38}, {39, 40}}, // LoadID 15
{\"Vegyszerek\", false, 15.00, PCV_TruckerFluidsTrailer, {37}, {6, 15, 39, 40}}, // LoadID 16
{\"Viz\", false,15.00, PCV_TruckerFluidsTrailer, {37, 208}, {15, 40, 41,221}}, // LoadID 17
{\"Zsir\", false, 14.00, PCV_TruckerFluidsTrailer, {8, 25}, {6, 10, 14, 42}}, // LoadID 18
{\"Trágya\", false, 15.00, PCV_TruckerFluidsTrailer, {37, 38}, {21, 22}}, // LoadID 19
{\"Tej\", false, 15.00, PCV_TruckerFluidsTrailer, {21, 22}, {43, 44, 45}}, // LoadID 20
{\"Sör\", true, 14.00, PCV_TruckerFluidsTrailer, {41}, {44, 46}}, // LoadID 21
{\"Ethanol\", false, 15.00, PCV_TruckerFluidsTrailer, {37, 41}, {26, 39, 40, 115, 207}}, // LoadID 22
// Loads for cargo trailer
{\"Élelmiszer\", false, 14.20, PCV_TruckerCargoTrailer, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 23
{\"Üditõ\", false, 16.20, PCV_TruckerCargoTrailer, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 24
{\"Dobozos sör\", true, 13.20, PCV_TruckerCargoTrailer, {56}, {57, 58, 59, 60, 61}}, // LoadID 25
{\"Luxus cikkek\", false, 17.20, PCV_TruckerCargoTrailer, {24, 55}, {47, 48, 50}},  // LoadID 26
{\"Elektronika\", true, 15.20, PCV_TruckerCargoTrailer, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 27
{\"Sport ruházat\", false, 14.20, PCV_TruckerCargoTrailer, {47, 48, 210}, {50, 53, 57}}, // LoadID 28
{\"Boards\", false, 15.20, PCV_TruckerCargoTrailer, {10}, {4, 7, 18, 22}}, // LoadID 29
{\"Épitöanyagok\", false, 16.20, PCV_TruckerCargoTrailer, {4}, {1, 2, 3, 5}}, // LoadID 30
{\"Állatok\", false, 19.20, PCV_TruckerCargoTrailer, {21, 22}, {23, 43, 47}}, // LoadID 31
{\"Hús\", false, 15.20, PCV_TruckerCargoTrailer, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 32
{\"Papir\", false, 16.20, PCV_TruckerCargoTrailer, {14}, {9, 62}}, // LoadID 33
// Loads for cement truck
{\"Cement\", false, 16.40, PCV_TruckerCementTruck, {12}, {1, 2, 3, 4}}, // LoadID 34
// Loads for truckers without trailer
{\"Élelmiszer\", false, 15.300, PCV_TruckerNoTrailer, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 35
{\"Üditõ\", false, 14.30, PCV_TruckerNoTrailer, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 36
{\"Dobozos sör\", true, 15.30, PCV_TruckerNoTrailer, {56}, {57, 58, 59, 60, 61}},  // LoadID 37
{\"Luxus Cikkek\", false, 16.30, PCV_TruckerNoTrailer, {24, 55}, {47, 48, 50}}, // LoadID 38
{\"Elektronika\", true, 17.30, PCV_TruckerNoTrailer, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 39
{\"Sport ruházat\", false, 15.30, PCV_TruckerNoTrailer, {47, 48}, {50, 53, 57}},  // LoadID 40
{\"Boards\", false, 16.30, PCV_TruckerNoTrailer, {10}, {4, 7, 18, 22}}, // LoadID 41
{\"Épitõanyagok\", false, 17.30, PCV_TruckerNoTrailer, {4}, {1, 2, 3, 5}}, // LoadID 42
{\"Állatok\", false, 14.30, PCV_TruckerNoTrailer, {21, 22}, {23, 43, 47}}, // LoadID 43
{\"Hús\", false, 15.30, PCV_TruckerNoTrailer, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 44
{\"Papir\", false, 16.30, PCV_TruckerNoTrailer, {14}, {9, 62}}, // LoadID 45
//Loads for pilots
{\"Utasok\", false, 26.41, PCV_PilotPlane, {173, 174, 175, 176, 177, 178, 187}, {186, 185, 184, 183, 182, 182, 175, 232}}, // LoadID 46 +89
{\"Nehéz szállitmany\", false, 26.41, PCV_PilotPlane, {175, 176, 177, 186, 185,181, 182, 183}, {186, 185, 184, 173, 174, 175, 176, 177}}, // LoadID 47
{\"Utasok\", false, 26.41, PCV_PilotHelicopter, {187, 186, 173, 174, 175, 176, 177}, {184, 183, 182, 181, 180, 179, 178, 232}}, // LoadID 48
// Loads for mafia
{\"Élelmiszer\", false, 15.22, PCV_MafiaVan, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 49
{\"Üditõ\", false, 12.55, PCV_MafiaVan, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 50
{\"Dobozos Sör\", true, 4.15, PCV_MafiaVan, {56}, {57, 58, 59, 60, 61}},  // LoadID 51
{\"Luxus Cikkek\", false, 17.00, PCV_MafiaVan,  {24, 55}, {47, 48, 50}}, // LoadID 52
{\"Elektronika\", true, 16.35, PCV_MafiaVan, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 53
{\"Sport Ruházat\", false, 15.60, PCV_MafiaVan, {47, 48}, {50, 53, 57}}, // LoadID 54
{\"Boards\", false, 14.40, PCV_MafiaVan, {10}, {4, 7, 18, 22}}, // LoadID 55
{\"Épitöanyagok\", false, 15.50, PCV_MafiaVan, {4}, {1, 2, 3, 5}}, // LoadID 56
{\"Állatok\", false, 12.25, PCV_MafiaVan, {21, 22}, {23, 43, 47}}, // LoadID 57
{\"Hús\", false, 13.20, PCV_MafiaVan, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 58
{\"Papir\", false, 14.00, PCV_MafiaVan, {14}, {9, 62}}, // LoadID 59
//Loads for Dumperes
{\"Salak\", false, 19.12, PCV_DumperVan, {191, 197, 199, 214, 218}, {194, 195, 196, 198, 216, 217}}, // LoadID 60
{\"Kox\", false, 18.31, PCV_DumperVan, {193, 213}, {190}}, // LoadID 59
// Loads for liquids trailer
{\"Disel Olaj\", true, 19.82, PCV_TruckerFluidsTrailer, {8, 207}, {219, 30, 219}},  // LoadID 62
{\"Tégla\", true, 19.94, PCV_TruckerCargoTrailer, {220}, {65, 72, 220}},  // LoadID 63
{\"Klórozott víz\", true, 19.83, PCV_TruckerFluidsTrailer, {8, 221}, {222}},  // LoadID 64
{\"Szeny víz\", true, 18.83, PCV_TruckerFluidsTrailer, {222}, {221}},  // LoadID 64
{\"Golfütõk\", true, 19.82, PCV_TruckerCargoTrailer, {55, 48}, {62, 223}},  // LoadID 74
    {\"Fürdõruhák\", true, 19.96, PCV_TruckerCargoTrailer, {48, 50, 210}, {57, 224}},  // LoadID 75
    {\"Alkatrészek\", true, 28.82, PCV_TruckerCargoTrailer, {48}, {44, 53, 225}},  // LoadID 76
    {\"Boroshordók\", true, 18.80, PCV_TruckerCargoTrailer, {226}, {18, 22, 44}},  // LoadID 77
    {\"Olajos Hordók\", true, 17.82, PCV_TruckerCargoTrailer, {227}, {36, 200, 227}},  // LoadID 78
    {\"Konténerek\", false, 14.20, PCV_TruckerCargoTrailer, {7, 44}, {228}}, // LoadID 79
    {\"Nitrátok\", true, 19.98, PCV_TruckerCargoTrailer, {227}, {25, 26, 229}},  // LoadID 80
    {\"Ólommentes Benzin\", true, 16.85, PCV_TruckerFluidsTrailer, {8, 25}, {300}},  // LoadID 81
    {\"Kõ olaj\", true, 15.81, PCV_TruckerFluidsTrailer, {8, 25}, {301}},  // LoadID 82
    {\"Föld Gáz\", true, 15.92, PCV_TruckerFluidsTrailer, {302}, {8, 26}},  // LoadID 83
    {\"Fúró Fejek\", true, 17.85, PCV_TruckerCargoTrailer, {302, 303}, {23, 36, 63}}  // LoadID 84
   
};
 
// This function returns a string (array) that holds all ProductID\'s that are linked to a certain vehicletype (and player class)
stock Product_GetList(PCV_Needed, &NumProducts)
{
// Setup local variables
new ProductList[50];
// Loop through all products
for (new i; i < sizeof(ALoads); i++)
{
// Check if there aren\'t 50 products found (and added to the ProductList) yet
if (NumProducts < 50)
{
   // Check if the current product has the same PCV_Needed
   if (ALoads[PCV_Required] == PCV_Needed)
   {
      // Add the ProductID to the ProductList
      ProductList[NumProducts] = i;
      // Increase the counter NumProducts
      NumProducts++;
   }
}
}
// Return the ProductList
return ProductList;
}
// This function returns a random products for the given vehicletype (and player class)
stock Product_GetRandom(PCV_Needed)
{
// Setup local variables
new ProductList[50], NumProducts;
// Get the entire product-list for this vehicle and class, and also the amount of products
ProductList = Product_GetList(PCV_Needed, NumProducts);
// Get a random product from this list and return it
return ProductList[random(NumProducts)];
}
// This function returns a random startlocation from the given product (load)
stock Product_GetRandomStartLoc(ProductID)
{
// Setup local variables
new NumProducts;
// First find out how many valid start-locations there are in this product
for (new i; i < 30; i++)
{
// If the product has a valid location in this index
if (ALoads[ProductID][FromLocations] != 0)
    NumProducts++; // Count the number of valid start-locations
else // A start-location with ID 0 has been found (dummy-location)
    break; // Stop counting
}
// Return the LocationID that\'s stored at a random index
return ALoads[ProductID][FromLocations][random(NumProducts)];
}
// This function returns a random endlocation from the given product (load)
stock Product_GetRandomEndLoc(ProductID)
{
// Setup local variables
new NumProducts;
// First find out how many valid end-locations there are in this product
for (new i; i < 30; i++)
{
// If the product has a valid location in this index
if (ALoads[ProductID][ToLocations] != 0)
    NumProducts++; // Count the number of valid end-locations
else // An end-location with ID 0 has been found (dummy-location)
    break; // Stop counting
}
// Return the LocationID that\'s stored at a random index
return ALoads[ProductID][ToLocations][random(NumProducts)];
}

fuvar bug
« Válasz #1 Dátum: 2013. április 18. - 22:17:31 »
0 Show voters
Azért nem hozza le, mert ez egy nagy katyvasz.201 után 114 jön.Szerintem töröld az egészet és mentsd le újra azokat a pontokat ami neked kell és rakd be normálisan.

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
fuvar bug
« Válasz #2 Dátum: 2013. április 19. - 14:55:45 »
0 Show voters
Micsoda?

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
fuvar bug
« Válasz #3 Dátum: 2013. április 19. - 15:12:43 »
0 Show voters
Azt porbálta leírni és le is írta normálisan, hogy ha nem tudod a PPC módját csinálni akkor töröld a gépeddel és tanulj még szkriptelni mert az a mód nem neked való minden héten írsz egy topikot, hogy ezt nem tudsz meg azt nem tudsz.. én azt mondom töröld ki ezt a kódot majd ragd be újra az alapot és simán újra írod ennyi.. vagy:
 
Idézetet írta: halaloszto100 date=1366316251\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"36303\" data-ipsquote-contentclass=\"forums_Topic
Azért nem hozza le, mert ez egy nagy katyvasz.201 után 114 jön.Szerintem töröld az egészet és mentsd le újra azokat a pontokat ami neked kell és rakd be normálisan.
 

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
fuvar bug
« Válasz #4 Dátum: 2013. április 19. - 15:15:45 »
0 Show voters
Azt akarta leírni, hogy csak a kellõ helyeket rakd be a módba, az ID-ket sorrendbe rakva, és a többi .inc-be is átírva.

fuvar bug
« Válasz #5 Dátum: 2013. április 19. - 15:49:21 »
+1 Show voters
Megnyugodtam.Azt hittem, hogy én vettem be a fogalmazás gátlót.Úgy látszik, hogy az értelmezéssel van a gond.
Elmondom egyszerûbben, hogy megértsd:
Megnyitod a pawnot.Beolvasod vele a PPC_Deflocations includét.Amit abban találsz rakodó és lerakodó helyet azt mind kitörlöd.DE, elõtte, mentsd le ami kell neked avégett, hogy nehogy azt írd, hogy nem indul a mod.A lementett dolgokat a Dokumentumok>GTA San Andreas User Files>SAMP>savedpositions.txt-ben találod.Az 1. koordinátát ne másold ki, mivel az a skin id.A mögötte lévõ 3 koordinátát másold ki, mivel az az x,y,z koordináta.Aztán amik voltak alapból benne azok alapján megcsinálod a többit és sorba rakod és lefogja neked hozni a rakodás meg a lerakodás pontokat.
Remélem érthetõ voltam. :D
JA és hogy ne azt mond, hogy nemjó.Ha megvannak ezek, akkor megnyitod a PPC_Defloads includét és a Location számát beírod oda ahova neked kell.Értelmezés képpen:Az elsõ {} ilyen jel a rakodás, oda írd a rakodási dolgokat.A 2. {} ilyen jel a lerakodás, oda írd a lerakodási dolgokat.
JA és még azelõtt, hogy azt írod, hogy nemjó az includékat el kell menteni azzal a kis floppy jellel ott bal felsõ sarokban aztán compizeld le azzal a kék kis nyillal.UTÁNNA nyisd meg a PPC_Trucking modot és azt is a kis kék nyillal complizeld le.AZTÁN indítsd el a szervert.
Ha mindent jól csináltál akkor megvannak a fuvarok.

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
fuvar bug
« Válasz #6 Dátum: 2013. április 19. - 17:25:41 »
0 Show voters
Ezek mentve vannak csak sorba kell rakni akkor már meg is csinálom...

fuvar bug
« Válasz #7 Dátum: 2013. április 19. - 17:29:32 »
0 Show voters
Idézetet írta: ZSOLTI99 date=1366385141\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"36303\" data-ipsquote-contentclass=\"forums_Topic
Ezek mentve vannak csak sorba kell rakni akkor már meg is csinálom...
 
Annyi a baj, hogy ott van a 303 az utolsónál.Az meg már rég létezik és ha azt beírod akkor mást fog kiírni és nem azt.Legegyszerûbb az ha az összes fuvart akarod, hogy visszamész az elejére és le ellenõrzöd ott zöldel utána, hogy mivan írva és sorba átírod és kijön hogy mi az utolsó.

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
fuvar bug
« Válasz #8 Dátum: 2013. április 20. - 18:40:21 »
0 Show voters
Oké köszi a segítséget
Újra számoztam meg minden és az a baj hogy nem azt rakja be amit én beírtam
 
// Setup a custom type that holds all data about a location on the map (used for missions)
//{\"asd1\",256.8013,2985.9453,-1.0002}, //vascsövek R 147
//{\"asd2\",248.8672,2984.9473,-0.7812}, //Tégla R 148
//{\"asd3\",241.9697,2984.0647,-0.9437}, // Benzin hordóba R 149
//{\"asd4\",234.0562,2986.1377,-1.1707}, //Betonbhengerek R 150
//{\"asd5\",268.9752,2936.4092,0.0430}, //Vasgerendák R 151
//{\"asd6\",2521.5381,509.2180,-0.2678}, //Benzin hordóba LR 152
//{\"asd7\",2505.6594,509.2868,-0.4027}, //Benzin R 153
//{\"asd8\",2532.2507,502.0985,-0.4684}, //vasgerendák LR 154
//{\"asd9\",2539.8274,488.7192,-0.4902}, //Betinhenger LR 155
//{\"asd10\",2539.5398,469.2506,-0.4314}, //Vascsövek LR 156
//   {\"asd11\",-168.1920,-5437.8105,-0.7527}, //Benzin LR 157
//   {\"asd12\",-162.4490,-5463.3516,-1.1361}, //Benzin hordóba R 158
//   {\"asd13\",-149.1858,-5498.9072,-0.0908}, //Betonhenger R 159
////   {\"asd14\",-158.9667,-5496.6270,-0.2407}, //Vasgerendák R 160
//   {\"asd15\",-162.7208,-5426.9897,-1.3655}, //Benzin LR 161
//   {\"asd16\",251.6559,3039.8398,-0.7278}, //Benzin LR 162
enum TLocation
{
LocationName[50], // The name of the location
Float:LocX, // The X-position of the location
Float:LocY, // The Y-position of the location
Float:LocZ // The Z-position of the location
}
// Setup an array that holds all location-data (except taxi and busdriver classes, these have their own locations)
new ALocations[][TLocation] =
{
// LocationName, LocationX, LocationY, LocationZ
{\"Dummy location\", 0.0, 0.0, 0.0}, // Location 0 = dummy location (never used)
{\"LS Épitkezés\", 1859.0, -1314.0, 14.0}, // Location 1
{\"SF Épitkezés\", -2083.0, 209.0, 35.5}, // Location 2
{\"LV Épitkezés\", 2708.0, 878.0, 10.0}, // Location 3
{\"Avery Épitkezés\", 312.25, -233.75, 1.6}, // Location 4
{\"Clown\'s Pocket Constr.\", 2467.0, 1923.0, 9.8}, // Location 5
{\"Solarin Industries\", -1822.5, 41.25, 15.25}, // Location 6
{\"Blueberry Truck Terminal\", 52.75, -278.0, 1.7}, // Location 7
{\"KACC Üzemanyaggyár\", 2529.5559,2733.0906,10.3130}, // Location 8
{\"SA Federal Mint\", -2441.0, 521.5, 30.0}, // Location 9
{\"Angel Pine Sawmill\", -1965.75, -2436.0, 30.7}, // Location 10
{\"Quarry\", 587.25, 844.75, -42.5}, // Location 11
{\"Bánya\", 370.0, 874.0, 20.5}, // Location 12
{\"Easter Bay Lumberyard\", -763.5, -136.0, 65.7}, // Location 13
{\"LS Papermill\", 2331.5, -2071.5, 13.6}, // Location 14
{\"Sprunk Factory\", 1334.75, 287.0, 19.6}, // Location 15
{\"SF Medical Center\", -2607.0, 684.0, 27.9}, // Location 16
{\"Angel Pine Junkyard\", -1873.0, -1685.0, 21.8}, // Location 17
{\"LV Freight Depot\", 599.5, 1224.75, 11.8}, // Location 18
{\"LS Garbage Compound\", 2181.0, -1980.5, 13.6}, // Location 19
{\"LV Industrial Estate\", 1635.75, 750.5, 11.0}, // Location 20
{\"EasterBoard Farm\", -69.5, -35.75, 3.2}, // Location 21
{\"SF Hill Farm\", -1423.5, -1469.0, 101.7}, // Location 22
{\"Pecker\'s Feed & Seed\", -310.5, 2669.5, 62.7}, // Location 23
{\"San Fierro Port\", -1691.0, 31.5, 3.6}, // Location 24
{\"LV Refinery\", 262.5, 1453.75, 10.6}, // Location 25
{\"LS Refinery\", 2484.0, -2085.0, 13.6}, // Location 26
{\"Countryside Gas Station\", -86.0, -1192.75, 2.0}, // Location 27
{\"SF Xoomer Gas Station\", -1659.0, 444.0, 7.2}, // Location 28
{\"SF Gas Station\", -2421.5, 953.25, 45.3}, // Location 29
{\"LS Going Station\", 1926.0, -1791.5, 13.5}, // Location 30
{\"Xoomer Gas Station\", -1488.75, 1875.25, 32.7}, // Location 31
{\"Whetstone Gas Station\", -1629.0, -2700.0, 48.6}, // Location 32
{\"Desert Gas Station\", -1309.5, 2703.75, 50.1}, // Location 33
{\"Dilimore Gas Station\", 664.5, -583.75, 16.4}, // Location 34
{\"Abandoned Airport Fuel\", 387.9, 2590.25, 16.5}, // Location 35
{\"San Fierro International\", -1152.25, -146.5, 14.2}, // Location 36
{\"Easter Bay Chemical\", -1033.75, -625.25, 32.1}, // Location 37
{\"LS Ocean Docks\", 2466.0, -2219.25, 13.6}, // Location 38
{\"Bioengineering Corp.\", 1347.5, 349.5, 20.0}, // Location 39
{\"Greenglass College\", 999.0, 1086.75, 11.0}, // Location 40
{\"Fleischberg Brewery\", -149.75, -220.25, 1.5}, // Location 41
{\"Bayside Boatyard\", -2430.75, 2310.5, 5.0}, // Location 42
{\"LV Butcher\", 977.5, 2096.75, 11.0}, // Location 43
{\"SF Catering LTD\", -1945.75, -1073.5, 31.0}, // Location 44
{\"LS Donut shop\", 1025.75, -1355.0, 13.8}, // Location 45
{\"Porter\'s House\", 2439.75, 114.5, 26.5}, // Location 46
{\"Chuckup LTD\", 1470.5, 1017.5, 10.9}, // Location 47
{\"LS Warehouse\", 2178.5, -2279.75, 13.6}, // Location 48
{\"SF Supa Save\", -2463.5, 782.0, 35.2}, // Location 49
{\"Verona Mall\", 1044.75, -1548.75, 13.6}, // Location 50
{\"Las Venturas Mall\", 2867.25, 2586.0, 10.7}, // Location 51
{\"Vank Hoff Hotel\", -2490.75, 337.5, 33.4}, // Location 52
{\"Emerald Mall\", 2056.75, 2251.25, 10.7}, // Location 53
{\"LS Ocean Docks\", 2574.25, -2223.75, 13.4}, // Location 54
{\"Bayside Warehouse\", -2285.0, 2281.5, 5.0}, // Location 55
{\"Fleischberg Brewery\", -18.5, -282.0, 5.5}, // Location 56
{\"Las Venturas Stadium\", 1377.5, 2245.75, 10.9}, // Location 57
{\"P. Creek General Store\", 2318.0, -92.5, 26.5}, // Location 58
{\"LV Dirtring Stadium\", 1112.0, 1451.75, 5.9}, // Location 59
{\"The Pleasure Domes\", -2697.0, 1402.5, 7.2}, // Location 60
{\"4 Dragons Casino\", 1903.75, 960.5, 10.9}, // Location 61
{\"SF Financial Center\", -2039.5, 467.5, 35.2}, // Location 62
{\"Area 69\", 134.54, 1945.79, 19.00}, // Location 63
{\"Bayside szeméttelep\", -2369.1785,2400.6396,8.0003}, //64
{\"Bayside1\",-2522.5625,2356.9229,4.9846}, //65
{\"Bayside2\",-2610.0659,2342.2822,8.3864}, //66
{\"Bayside3\",-2462.8801,2518.6101,16.8213}, //67
{\"Bayside4\",-2253.7051,2365.8013,4.9899}, //68
    {\"Bayside5\",-2530.8037,2291.3586,4.9844}, //69
    {\"LV szeméttelep\",2818.1975,2706.9407,10.8203}, //70
    {\"LV1\",2552.5693,2238.5203,10.5255},//71
    {\"LV2\",2522.3423,2321.7043,10.5278},//72
    {\"LV3\",2377.4163,2238.8933,10.5252},//73
    {\"LV4\",2259.1077,2286.0381,10.4531},//74
    {\"LV5\",1661.1730,2167.6858,10.5234},//75
    {\"LV6\",1700.4750,1268.6523,10.5211},//76
    {\"LV7\",2656.2083,1948.5350,10.5242},//77
    {\"LV8\",2776.8896,2532.0505,10.6020},//78
    {\"LV9\",2816.3018,2599.6528,10.6003},//79
    {\"SF szeméttelep\",-2553.0466,1437.6163,7.1172},//80
    {\"SF1\",-2581.3083,1359.8815,6.7418},//81
    {\"SF2\",-2408.4863,1385.0991,6.7359},//82
    {\"SF3\",-2272.2361,1342.5118,6.7308},//83
    {\"SF4\",-2153.2231,1340.6471,6.7376},//84
    {\"SF5\",-2074.6001,1327.4072,6.6678},//85
    {\"SF6\",-2280.8618,1221.4768,48.4237},//86
    {\"SF7\",-2243.6975,1169.6740,55.4030},//87
    {\"SF8\",-2274.0750,1036.7260,83.3913},//88
    {\"SF9\",-2377.1621,804.5245,34.6474},//89
    {\"SF10\",-2531.3960,720.8549,27.7312},//90
    {\"SF11\",-2529.9722,837.2560,49.4822},//91
    {\"SF12\",-2521.6343,896.4390,64.3978},//92
    {\"SF13\",-2532.5212,936.2451,64.6347},//93
    {\"SF14\",-2532.1404,1084.2366,55.3450},//94
    {\"Angel Pine szeméttelep\",-1873.5803,-1674.6334,21.3749},//95
    {\"Angel Pine1\",-2135.3667,-2256.2854,30.2569},//96
    {\"Angel Pine2\",-2092.8357,-2349.2297,30.2498},//97
    {\"Angel Pine3\",-2114.2915,-2428.8147,30.1685},//98
    {\"Angel Pine4\",-2104.8149,-2453.9885,30.2497},//99
    {\"Angel Pine5\",-2099.0439,-2483.3933,30.2508},//100
    {\"Angel Pine6\",-2142.6299,-2466.4949,30.2500},//101
    {\"Angel Pine7\",-2131.0679,-2453.9861,30.2487},//102
    {\"Angel Pine8\",-2182.2371,-2451.9690,30.0947},//103
    {\"Angel Pine9\",-2174.2910,-2441.7822,30.0936},//104
    {\"Angel Pine10\",-2172.5564,-2427.7783,30.2499},//105
    {\"Angel Pine11\",-2214.5642,-2333.4319,30.2492},//106
    {\"LS szeméttelep\",2180.7380,-1982.5576,13.5514},//107
    {\"LS1\",2290.4746,-2118.2710,13.1719},//108
    {\"LS2\",1916.8707,-2122.2212,13.2108},//109
    {\"LS3\",1917.2539,-2086.6628,13.2053},//110
    {\"LS4\",2398.8982,-1726.4392,13.1870},//111
    {\"LS5\",2488.7932,-1682.4401,12.9603},//112
    {\"LS6\",2503.6223,-1660.6345,13.0183},//113
    {\"LS7\",2491.1909,-1657.2974,12.9858},//114
    {\"AngelPine GAS benzinkut\",-2251.4038,-2558.4998,31.8875}, // 115
 
{\"Busstop\", 1067.00, 1357.75, 10.7}, // Location 116
{\"Busstop\", 1324.75, 1190.75, 10.7}, // Location 117
{\"Busstop\", 1544.00, 1135.50, 10.7}, // Location 118
{\"Busstop\", 1603.50, 1130.50, 10.7}, // Location 119
{\"Busstop\", 1722.50, 1373.25, 10.5}, // Location 120
{\"Busstop\", 1714.25, 1421.75, 10.5}, // Location 121
{\"Busstop\", 1010.00, 1411.25, 10.7}, // Location 122
{\"Busstop\", 1726.50, 1481.75, 10.7}, // Location 123
{\"Busstop\", 1729.50, 1529.50, 10.7}, // Location 124
{\"Busstop\", 1705.00, 1965.00, 10.7}, // Location 125
{\"Busstop\", 1385.00, 1920.00, 10.7}, // Location 126
{\"Busstop\", 1335.25, 2055.50, 10.7}, // Location 127
{\"Busstop\", 1073.00, 2055.50, 10.7}, // Location 128
{\"Busstop\", 1502.25, 2055.50, 10.7}, // Location 129
{\"Busstop\", 1565.00, 2200.25, 10.7}, // Location 130
{\"Busstop\", 1636.25, 2175.50, 10.7}, // Location 131
{\"Busstop\", 1503.50, 2311.00, 10.7}, // Location 132
{\"Busstop\", 1564.75, 2345.75, 10.7}, // Location 133
{\"Busstop\", 1725.00, 2247.75, 10.7}, // Location 134
{\"Busstop\", 1894.50, 2175.50, 10.7}, // Location 135
{\"Busstop\", 1925.25, 2314.75, 10.7}, // Location 136
{\"Busstop\", 1925.25, 2115.75, 10.8}, // Location 137
{\"Busstop\", 2083.50, 2455.50, 10.7}, // Location 138
{\"Busstop\", 2285.00, 2315.00, 10.7}, // Location 138
{\"Busstop\", 2305.00, 2515.50, 10.7}, // Location 139
{\"Busstop\", 2392.00, 2415.50, 10.7}, // Location 140
{\"Busstop\", 2425.00, 2285.00, 10.7}, // Location 141
{\"Busstop\", 2449.75, 2235.50, 10.7}, // Location 142
{\"Busstop\", 2580.25, 2115.50, 10.7}, // Location 143
{\"Busstop\", 2447.50, 2055.50, 10.7}, // Location 144
{\"Busstop\", 2115.00, 755.50, 10.7}, // Location 145
{\"Busstop\", 2019.75, 750.50, 10.7}, // Location 146
{\"Busstop\", 1975.00, 775.50, 10.7}, // Location 147
{\"Busstop\", 1885.00, 770.75, 10.7}, // Location 148
{\"Busstop\", 1894.00, 635.75, 10.7}, // Location 149
{\"Busstop\", 1974.25, 631.00, 10.7}, // Location 150
{\"Busstop\", 2020.50, 670.50, 10.7}, // Location 151
{\"Busstop\", 2114.75, 675.75, 10.7}, // Location 152
{\"Busstop\", 1084.75, 1196.00, 10.7}, // Location 153
{\"Busstop 1 Bayside\", -2565.75, 2315.25,    4.83}, // Location 154
{\"Busstop 2 Bayside\", -2337.00, 2375.00,    5.59}, // Location 155
{\"Busstop 1 El Quebrados\", -1467.00, 2674.00,   55.68}, // Location 156
{\"Busstop 2 El Quebrados\", -1528.50, 2548.00,   55.68}, // Location 157
{\"Busstop 1 Las Barrancas\", -805.64, 1562.30,   26.96}, // Location 158
{\"Busstop 2 Las Barrancas\", -847.00, 1529.50,   21.66}, // Location 159
{\"Busstop Las Payasdas\", -269.00, 2625.75,   62.64}, // Location 160
{\"Busstop 1 Fort Carson\",  -45.37, 1200.68,   19.21}, // Location 161
{\"Busstop 2 Fort Carson\", -100.50, 1195.75,   19.58}, // Location 162
{\"Busstop 3 Fort Carson\", -249.50, 1016.00,   19.59}, // Location 163
{\"Busstop 1 Angel Pine\", -2169.75, -2305.75,   30.46}, // Location 164
{\"Busstop 2 Angel Pine\", -2098.25, -2499.50,   30.46}, // Location 165
{\"Busstop 1 Palomino Creek\", 2263.75,  -30.75,   26.33}, // Location 166
{\"Busstop 2 Palomino Creek\", 2461.75,    1.00,   26.33}, // Location 167
{\"Busstop 1 Montgomery\", 1288.50,  329.00,   19.40}, // Location 168
{\"Busstop 2 Montgomery\", 1286.75,  323.75,   19.40}, // Location 169
{\"Busstop 1 Dillimore\",  736.00, -527.50,   16.18}, // Location 170
{\"Busstop 2 Dillimore\",  736.00, -532.50,   16.18}, // Location 171
{\"SF Airport Gate1\", -1337.94, -222.79,   14.14}, // ID = 172
{\"SF Airport Gate2\", -1395.26, -104.20,   14.14}, // ID = 173
{\"SF Airport Cargo Bay1\", -1337.16, -542.29,   14.14}, // ID = 174
{\"SF Airport Cargo Bay2\", -1412.96, -579.85,   14.14}, // ID = 175
{\"LS Airport Gate1\", 1747.04, -2441.04,   13.55}, // ID = 176
{\"LS Airport Gate2\", 1902.16, -2350.11,   13.54}, // ID = 177
{\"LS Airport Cargo Bay1\", 1889.10, -2625.49,   13.54}, // ID = 178
{\"LS Airport Cargo Bay2\", 1754.74, -2622.69,   13.54}, // ID = 179
{\"LS Airport Cargo Bay3\", 1617.61, -2622.30,   13.54}, // ID = 180
{\"LV Airport Gate1\", 1564.77, 1536.77,   10.82}, // ID = 181
{\"LV Airport Gate2\", 1569.85, 1358.58,   10.86}, // ID = 182
{\"LV Airport Cargo Bay1\", 1307.41, 1324.01,   10.82}, // ID = 183
{\"LV Airport Cargo Bay1\", 1308.47, 1361.32,   10.82}, // ID = 184
{\"Verdant Meadows Gate\", 392.13, 2531.27, 16.54}, // ID = 185
{\"Verdant Meadows Cargo Bay\", 291.08, 2525.75, 16.79}, // ID = 186
{\"TestRock\", 351.5, 1008.75, 28.4}, // ID = 187
{\"TestCP\", 344.75, 1020.5, 28.3}, // ID = 188
{\"Vasutállomás\",601.3481,1206.2527,11.7188}, // Kox Lerakodás 189
{\"Bánya fent\",371.9308,880.1357,20.3990}, // 190
{\"Bánya kapu\",866.5075,857.8689,13.3516}, //191
{\"Bánya kapu\",893.1061,877.4375,13.3516}, //192
{\"Salak depó\",613.5944,944.1698,-7.3731}, //193
{\"Bánya osztályzó\",698.0740,842.7642,-27.6088}, //194
{\"Bánya osztályzó\",684.3479,821.8713,-27.3116}, //195
{\"Bánya lent\",510.0340,799.8667,-21.9453}, //196
{\"Bánya Salakkiégetõ\",672.8630,895.4267,-40.3273}, //197
{\"Bánya lent\",537.2725,907.2144,-42.9609}, //198
{\"Furótorony\",2138.7700,-3720.0791,14.0547}, // 199
{\"San Fierró-i vonatmegálló\",-1946.3340,114.5342,25.7186}, // 200
{\"Los Santos-i vonatmegálló\",839.0564,-1391.2054,-1.6183}, // 201
{\"Los Santos-i vonatmegálló\",1773.7065,-1955.5391,13.5469}, // 202
{\"Külvárosi vonatmegálló\",2824.0334,93.2304,25.8723}, // 203
{\"Las Vegas-i vonatmegálló\",2866.7578,1301.0490,10.8203}, // 204
{\"Las Vegas-i vonatmegálló\",1404.5134,2634.2705,10.8203}, // 205
    {\"Lindes Side\",3647.0688,-2010.3041,2.4000}, //206
    {\"Lindes Side\",4491.2520,-2016.2899,2.5500}, //207
    {\"Lindes Side\",4465.4702,-2143.6313,2.5750}, //208
    {\"Lindes Side\",4160.3315,-3055.8186,20.4530}, //209
    {\"Lindes Side\",4123.6152,-2656.7488,8.1483}, //210
    {\"Lindes Side\",-4279.0981,-3320.5730,3.9688}, //211
    {\"Lindes Side\",3580.9597,-3061.2158,8.3362},//212
    {\"Lindes Side\",3616.7778,-3080.0098,8.4690},//213
    {\"Lindes Side\",3577.8650,-3061.9504,8.3362},//214
    {\"Lindes Side\",3614.7207,-3078.9690,8.4690},//215
    {\"Lindes Side\",-4173.1069,-3351.0173,3.9688},//216
    {\"Lindes Side\",3617.8403,-3080.7937,8.4690}, //217
   
    {\"SF Nevara Sziget\",-4245.8931,-1107.3492,5.8216},//218
    {\"SF Nevara Tüzép\",-4273.6577,-3327.9456,3.9688},//219
    {\"SF Nevara Víz Tisztító\",-3091.1179,-1202.5186,12.2266},//220
    {\"LV Medence\",550.9822,-3074.8516,11.9688},//221
    {\"AVISPA CLUB\",-2653.2632,-289.6893,7.5435},//222
    {\"LS Fürdõ\",444.1619,-2860.4143,12.0219}, //223
    {\"LS Tuningolo\",-2713.0481,199.8991,4.3281},//224
    {\"LS Sziget\",2458.4958,-4181.3550,13.8702},//225
    {\"LV NEW Island\",4733.4907,2860.4568,12.2026},//226
    {\"LV Kaszkabelesz Raktar\",4703.2256,2722.9180,12.2142},//227
{\"SF Nevara Raktár\",4145.8223,-2675.8835,7.9900}, //228
{\"Ls Sziget Benzinkut\",4922.8521,2337.2349,2.1828},//229
{\"LS Magén reptér\",375.1036,-2238.0950,8.7000}, //230
{\"LS Olaj Finomító\",2138.7700,-3720.0791,14.0547},//231
{\"LS Olaj Raktár\",2607.3049,-4058.1902,13.7281} //232
};

 

// Setup a custom type that holds all data about a load
enum TLoad
{
LoadName[50], // The name of the load
bool:Mafia, // Holds \"true\" if this load is wanted by the mafia
Float:PayPerUnit, // Holds the price for every meter to haul this type of load (this gets multiplied by the distance to calculate the payment)
PCV_Required, // This holds the vehicle-type the player needs to use this load (and automatically the player\'s class)
FromLocations[30], // This array holds all loading-points for this load
ToLocations[30] // This array holds all unloading-points for this load
}
new ALoads[][TLoad] =
{
// LoadName, MafiaLoad, PayPerUnit, VehicleNeeded, From-Locations, To-Locations
// Dummy Load (never used)
{\"Dummy\", false, 0.00, 0, {0}, {0}}, // LoadID 0 114+
// Loads for ore trailer
{\"Kõ\", false, 14.10, PCV_TruckerOreTrailer, {11, 215}, {1, 2, 3}}, // LoadID 1
{\"Homok\", false, 16.10, PCV_TruckerOreTrailer, {12, 216}, {1, 2, 3, 4, 5}}, // LoadID 2
{\"Szikla\", false, 15.10, PCV_TruckerOreTrailer, {11}, {1, 2, 3, 4, 5}}, // LoadID 3
{\"Szén\", false, 14.10, PCV_TruckerOreTrailer, {12}, {6, 7, 8}}, // LoadID 4
{\"Érc\", false, 17.00, PCV_TruckerOreTrailer, {12}, {6, 9}}, // LoadID 5
{\"Napló\", false, 14.10, PCV_TruckerOreTrailer, {13}, {7, 10}}, // LoadID 6
{\"Faapriték\", false, 12.10, PCV_TruckerOreTrailer, {10}, {14}}, // LoadID 7
{\"Szemét\", false, 13.10, PCV_TruckerOreTrailer, {6, 15, 16}, {17, 18, 19}}, // LoadID 8
{\"Törmelék\", false, 15.10, PCV_TruckerOreTrailer, {17, 19}, {6, 18, 20}}, // LoadID 9
{\"Takarmány\", false, 14.10, PCV_TruckerOreTrailer, {21, 22}, {18, 23, 24}}, // LoadID 10
// Loads for liquids trailer
{\"Benzin\", true, 14.70, PCV_TruckerFluidsTrailer, {8, 25, 26}, {27, 28, 29, 30, 31, 32, 33, 34, 115, 207}}, // LoadID 11
{\"Gázolaj\", true, 14.00, PCV_TruckerFluidsTrailer, {8, 25, 26}, {27, 28, 29, 30, 31, 32, 33, 34, 115, 207}}, // LoadID 12
{\"Repülõgépi benzin\", true, 15.00, PCV_TruckerFluidsTrailer, {8, 25, 26}, {35, 36, 230}},  // LoadID 13
{\"Olaj\", false, 16.20, PCV_TruckerFluidsTrailer, {8, 25, 26, 199}, {6, 27, 28, 29, 30, 31, 32, 33, 34, 207}}, // LoadID 14
{\"Folyékony Nitrogén\", false, 14.00, PCV_TruckerFluidsTrailer, {37, 38}, {39, 40}}, // LoadID 15
{\"Vegyszerek\", false, 15.00, PCV_TruckerFluidsTrailer, {37}, {6, 15, 39, 40}}, // LoadID 16
{\"Viz\", false,15.00, PCV_TruckerFluidsTrailer, {37, 207}, {15, 40, 41, 220}}, // LoadID 17
{\"Zsir\", false, 14.00, PCV_TruckerFluidsTrailer, {8, 25}, {6, 10, 14, 42}}, // LoadID 18
{\"Trágya\", false, 15.00, PCV_TruckerFluidsTrailer, {37, 38}, {21, 22}}, // LoadID 19
{\"Tej\", false, 15.00, PCV_TruckerFluidsTrailer, {21, 22}, {43, 44, 45}}, // LoadID 20
{\"Sör\", true, 14.00, PCV_TruckerFluidsTrailer, {41}, {44, 46}}, // LoadID 21
{\"Ethanol\", false, 15.00, PCV_TruckerFluidsTrailer, {37, 41}, {26, 39, 40, 115, 207}}, // LoadID 22
// Loads for cargo trailer
{\"Élelmiszer\", false, 14.20, PCV_TruckerCargoTrailer, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 23
{\"Üditõ\", false, 16.20, PCV_TruckerCargoTrailer, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 24
{\"Dobozos sör\", true, 13.20, PCV_TruckerCargoTrailer, {56}, {57, 58, 59, 60, 61}}, // LoadID 25
{\"Luxus cikkek\", false, 17.20, PCV_TruckerCargoTrailer, {24, 55}, {47, 48, 50}},  // LoadID 26
{\"Elektronika\", true, 15.20, PCV_TruckerCargoTrailer, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 27
{\"Sport ruházat\", false, 14.20, PCV_TruckerCargoTrailer, {47, 48, 210}, {50, 53, 57}}, // LoadID 28
{\"Boards\", false, 15.20, PCV_TruckerCargoTrailer, {10}, {4, 7, 18, 22}}, // LoadID 29
{\"Épitöanyagok\", false, 16.20, PCV_TruckerCargoTrailer, {4}, {1, 2, 3, 5}}, // LoadID 30
{\"Állatok\", false, 19.20, PCV_TruckerCargoTrailer, {21, 22}, {23, 43, 47}}, // LoadID 31
{\"Hús\", false, 15.20, PCV_TruckerCargoTrailer, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 32
{\"Papir\", false, 16.20, PCV_TruckerCargoTrailer, {14}, {9, 62}}, // LoadID 33
// Loads for cement truck
{\"Cement\", false, 16.40, PCV_TruckerCementTruck, {12}, {1, 2, 3, 4}}, // LoadID 34
// Loads for truckers without trailer
{\"Élelmiszer\", false, 15.300, PCV_TruckerNoTrailer, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 35
{\"Üditõ\", false, 14.30, PCV_TruckerNoTrailer, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 36
{\"Dobozos sör\", true, 15.30, PCV_TruckerNoTrailer, {56}, {57, 58, 59, 60, 61}},  // LoadID 37
{\"Luxus Cikkek\", false, 16.30, PCV_TruckerNoTrailer, {24, 55}, {47, 48, 50}}, // LoadID 38
{\"Elektronika\", true, 17.30, PCV_TruckerNoTrailer, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 39
{\"Sport ruházat\", false, 15.30, PCV_TruckerNoTrailer, {47, 48}, {50, 53, 57}},  // LoadID 40
{\"Boards\", false, 16.30, PCV_TruckerNoTrailer, {10}, {4, 7, 18, 22}}, // LoadID 41
{\"Épitõanyagok\", false, 17.30, PCV_TruckerNoTrailer, {4}, {1, 2, 3, 5}}, // LoadID 42
{\"Állatok\", false, 14.30, PCV_TruckerNoTrailer, {21, 22}, {23, 43, 47}}, // LoadID 43
{\"Hús\", false, 15.30, PCV_TruckerNoTrailer, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 44
{\"Papir\", false, 16.30, PCV_TruckerNoTrailer, {14}, {9, 62}}, // LoadID 45
//Loads for pilotsés a második?
{\"Utasok\", false, 26.41, PCV_PilotPlane, {172, 174, 176, 178, 181, 183, 185}, {185, 183, 181, 176, 174, 172}}, // LoadID 46 +89
{\"Nehéz szállitmany\", false, 26.41, PCV_PilotPlane, {173, 177, 179, 182, 184, 186}, {186, 186, 184, 182, 179, 177, 173}}, // LoadID 47
{\"Utasok\", false, 26.41, PCV_PilotHelicopter, {172, 174, 176, 178, 181, 183, 185}, {185, 183, 181, 176, 174, 172}}, // LoadID 48
// Loads for mafia
{\"Élelmiszer\", false, 15.22, PCV_MafiaVan, {7, 44, 47, 48}, {49, 50, 51, 52, 53}}, // LoadID 49
{\"Üditõ\", false, 12.55, PCV_MafiaVan, {15, 54, 55}, {49, 50, 51, 52, 53}}, // LoadID 50
{\"Dobozos Sör\", true, 4.15, PCV_MafiaVan, {56}, {57, 58, 59, 60, 61}},  // LoadID 51
{\"Luxus Cikkek\", false, 17.00, PCV_MafiaVan,  {24, 55}, {47, 48, 50}}, // LoadID 52
{\"Elektronika\", true, 16.35, PCV_MafiaVan, {7, 24, 48}, {50, 51, 62, 63}}, // LoadID 53
{\"Sport Ruházat\", false, 15.60, PCV_MafiaVan, {47, 48}, {50, 53, 57}}, // LoadID 54
{\"Boards\", false, 14.40, PCV_MafiaVan, {10}, {4, 7, 18, 22}}, // LoadID 55
{\"Épitöanyagok\", false, 15.50, PCV_MafiaVan, {4}, {1, 2, 3, 5}}, // LoadID 56
{\"Állatok\", false, 12.25, PCV_MafiaVan, {21, 22}, {23, 43, 47}}, // LoadID 57
{\"Hús\", false, 13.20, PCV_MafiaVan, {43}, {44, 49, 50, 51, 52, 53}}, // LoadID 58
{\"Papir\", false, 14.00, PCV_MafiaVan, {14}, {9, 62}}, // LoadID 59
//Loads for Dumperes 189
{\"Salak\", false, 19.12, PCV_DumperVan, {191, 192, 197, 218, 215, 216, 217}, {217, 216, 215, 197, 192, 216, 217}}, // LoadID 60
{\"Kox\", false, 18.31, PCV_DumperVan, {193, 194}, {189, 197}}, // LoadID 59
// Loads for liquids trailer
{\"Disel Olaj\", true, 19.82, PCV_TruckerFluidsTrailer, {8}, {30, 225, 229}},  // LoadID 62
{\"Tégla\", true, 19.94, PCV_TruckerCargoTrailer, {218}, {65, 72, 227}},  // LoadID 63
{\"Klórozott víz\", true, 19.83, PCV_TruckerFluidsTrailer, {8, 220}, {221}},  // LoadID 64
{\"Szeny víz\", true, 18.83, PCV_TruckerFluidsTrailer, {221}, {220}},  // LoadID 64
{\"Golfütõk\", true, 19.82, PCV_TruckerCargoTrailer, {55, 48}, {62, 222}},  // LoadID 74
    {\"Fürdõruhák\", true, 19.96, PCV_TruckerCargoTrailer, {48, 50, 210}, {57, 221}},  // LoadID 75
    {\"Alkatrészek\", true, 28.82, PCV_TruckerCargoTrailer, {48}, {44, 53, 224}},  // LoadID 76
    {\"Boroshordók\", true, 18.80, PCV_TruckerCargoTrailer, {227}, {18, 22, 44}},  // LoadID 77
    {\"Olajos Hordók\", true, 17.82, PCV_TruckerCargoTrailer, {227}, {36, 199, 227}},  // LoadID 78
    {\"Konténerek\", false, 14.20, PCV_TruckerCargoTrailer, {7, 44}, {228}}, // LoadID 79
    {\"Nitrátok\", true, 19.98, PCV_TruckerCargoTrailer, {227}, {25, 26, 226, 229}},  // LoadID 80
    {\"Ólommentes Benzin\", true, 16.85, PCV_TruckerFluidsTrailer, {8, 25}, {225, 229, 230}},  // LoadID 81
    {\"Kõ olaj\", true, 15.81, PCV_TruckerFluidsTrailer, {231}, {8, 25}},  // LoadID 82
    {\"Föld Gáz\", true, 15.92, PCV_TruckerFluidsTrailer, {231}, {8, 26}},  // LoadID 83
    {\"Fúró Fejek\", true, 17.85, PCV_TruckerCargoTrailer, {232, 231}, {8, 23, 36, 63}}  // LoadID 84
   
};
 
// This function returns a string (array) that holds all ProductID\'s that are linked to a certain vehicletype (and player class)
stock Product_GetList(PCV_Needed, &NumProducts)
{
// Setup local variables
new ProductList[50];
// Loop through all products
for (new i; i < sizeof(ALoads); i++)
{
// Check if there aren\'t 50 products found (and added to the ProductList) yet
if (NumProducts < 50)
{
   // Check if the current product has the same PCV_Needed
   if (ALoads[PCV_Required] == PCV_Needed)
   {
      // Add the ProductID to the ProductList
      ProductList[NumProducts] = i;
      // Increase the counter NumProducts
      NumProducts++;
   }
}
}
// Return the ProductList
return ProductList;
}
// This function returns a random products for the given vehicletype (and player class)
stock Product_GetRandom(PCV_Needed)
{
// Setup local variables
new ProductList[50], NumProducts;
// Get the entire product-list for this vehicle and class, and also the amount of products
ProductList = Product_GetList(PCV_Needed, NumProducts);
// Get a random product from this list and return it
return ProductList[random(NumProducts)];
}
// This function returns a random startlocation from the given product (load)
stock Product_GetRandomStartLoc(ProductID)
{
// Setup local variables
new NumProducts;
// First find out how many valid start-locations there are in this product
for (new i; i < 30; i++)
{
// If the product has a valid location in this index
if (ALoads[ProductID][FromLocations] != 0)
    NumProducts++; // Count the number of valid start-locations
else // A start-location with ID 0 has been found (dummy-location)
    break; // Stop counting
}
// Return the LocationID that\'s stored at a random index
return ALoads[ProductID][FromLocations][random(NumProducts)];
}
// This function returns a random endlocation from the given product (load)
stock Product_GetRandomEndLoc(ProductID)
{
// Setup local variables
new NumProducts;
// First find out how many valid end-locations there are in this product
for (new i; i < 30; i++)
{
// If the product has a valid location in this index
if (ALoads[ProductID][ToLocations] != 0)
    NumProducts++; // Count the number of valid end-locations
else // An end-location with ID 0 has been found (dummy-location)
    break; // Stop counting
}
// Return the LocationID that\'s stored at a random index
return ALoads[ProductID][ToLocations][random(NumProducts)];
}

 

Dupla hozzászólás automatikusan összefûzve. ( 2013. április 22. - 14:18:23 )

De nem is azt teszi oda amit én oda írtam valaki segítsen pls
« Utoljára szerkesztve: 2013. április 22. - 14:18:23 írta ZSOLTI99 »

Nem elérhető ZSOLTI99

  • 1827
    • Profil megtekintése
fuvar bug
« Válasz #9 Dátum: 2013. április 22. - 21:25:11 »
0 Show voters
valaki???

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal