godfather cars
#1

so lets say this is the code

PHP код:
new CarSpawns[91][eCars] = {
    {
462,-2158.0222,657.3932,52.2775,272.8372},
    {
462,2229.2,-1170.2,25.7,86.9},
    {
462,2217.0,-1157.2,25.7,269.8},
    {
462,-1497.4576,845.8479,6.9382,88.5201},
    {
462,2106.4695,-1248.7920,24.0461,0.1524},
    {
462,-1704.3132,999.7747,17.3646,90.0725},
    {
462,334.2231,-1343.7405,14.3828,209.9581},
    {
462,723.9850,-1121.5535,18.1450,333.9010},
    {
462,668.1161,-546.2436,16.0413,89.4239},
    {
462,-1758.3512,910.7219,24.5923,269.8633},
    {
462,1188.4082,-925.1859,42.8590,277.5563},
    {
462,1450.2,-937.1,36.2,269.6909},
    {
462,-1786.7155,1205.1598,24.7812,178.8758},
    {
462,2348.2910,-1167.9983,27.3637,323.1586},
    {
462,-2166.4534,1251.1536,27.2650,1.0352},
    {
462,-2040.4761,1107.7072,53.4166,89.8473},
    {
462,2813.2175,-1673.0276,9.6638,2.3369},
    {
462,2809.3872,-1837.2391,9.7398,268.9880},
    {
462,2411.5386,-2134.7576,13.9352,0.7795},
    {
462,783.1359,-1601.8208,13.2577,270.9069},
    {
462,923.0841,-1361.7990,13.0324,181.1371},
    {
462,1174.6599,-922.1939,43.1189,276.8927},
    {
462,1363.2723,-1260.8229,13.0954,179.5841},
    {
462,-2635.0933,1377.1693,6.8692,180.6415},
    {
462,2396.6899,-1966.8123,13.2793,271.6838},
    {
462,-2273.8679,921.3550,66.3095,0.6336},
    {
462,334.3586,-1789.3143,4.6717,178.7722},
    {
462,-2129.2915,787.6183,69.3346,87.1812},
    {
462,-2151.9524,395.9857,34.9395,180.7696},
    {
462,-2034.8334,178.8471,28.5682,269.9615},
    {
462,453.3896,-1494.3240,30.7917,7.7513},
    {
462,300.5775,-1490.8882,24.3748,235.1359},
    {
462,524.0590,-1375.0093,15.8231,193.3626},
    {
462,-2488.1333,-133.0336,25.3507,90.1064},
    {
462,-2636.7976,-55.4094,4.0630,359.9826},
    {
462,736.8572,-1337.1550,13.3140,271.3832},
    {
462,888.1506,-1659.2727,13.3296,1.2414},
    {
462,-2134.1443,-453.9576,35.1479,95.0877},
    {
462,-1639.3900,-567.5057,13.9530,80.1994},
    {
462,-2265.1501,148.9554,34.8837,269.3405},
    {
426,981.7941,-1523.5115,13.3379,267.2751},
    {
462,492.6386,-1555.3513,17.1462,213.1128},
    {
462,1096.1,-1379.9,13.3,270.1909},
    {
462,1182.2568,-1219.2407,18.4163,0.5578},
    {
462,1331.9304,-1081.3899,24.9941,90.4092},
    {
462,1279.1887,-1539.2032,13.3201,94.8070},
    {
462,-2200.5999,-2503.3606,30.4213,321.7648},
    {
462,1279.2875,-1814.4156,13.1657,93.6385},
    {
462,1479.9131,-1737.8813,13.2418,269.5805},
    {
462,1618.0411,-1891.1044,13.3278,0.3364},
    {
462,-2079.6389,-2303.7983,30.3466,322.7155},
    {
462,1838.1904,-1871.3842,13.1703,358.5452},
    {
462,1777.1376,-1910.0310,13.1681,91.0725},
    {
462,1981.0780,-1986.3513,13.3275,2.1479},
    {
462,199.5586,-155.4912,1.3827,0.3471},
    {
462,1938.0565,-2086.8459,13.3429,268.3414},
    {
462,-113.9556,-39.4382,2.9209,164.0464},
    {
462,1748.0751,-2084.2090,13.3324,0.4337},
    {
462,1461.6943,-1505.1688,13.2541,356.9007},
    {
462,1435.0645,-1325.6835,13.2580,270.9400},
    {
462,1583.7561,-1338.7435,16.1896,359.8619},
    {
462,-2766.6875,-281.2887,7.1613,180.1256},
    {
462,1574.1168,-1036.7643,23.6151,145.6786},
    {
462,1645.3188,-1036.5238,23.6027,0.7258},
    {
462,1770.4874,-1060.9886,23.6658,179.2750},
    {
462,1653.1766,-1134.8994,23.6110,178.6835},
    {
462,1790.0190,-1292.9065,13.2653,267.2964},
    {
462,2003.3417,-1121.4993,26.3879,357.4926},
    {
462,2229.2278,-1345.4033,23.6892,93.3009},
    {
462,2384.1567,-1275.6326,23.9198,101.6528},
    {
462,2426.9612,-1224.4158,25.0000,202.7159},
    {
462,2612.9702,-1262.6970,48.2461,269.4752},
    {
462,2659.7053,-1422.6743,30.1714,89.8159},
    {
462,2478.7664,-1555.7006,23.7226,183.6043},
    {
462,2754.7136,-1373.0253,40.1154,91.4169},
    {
462,2816.7195,-1449.4285,15.9549,268.9106},
    {
462,2681.9016,-1673.3879,9.1290,0.5605},
    {
462,2361.3120,-1674.6146,13.2505,357.4959},
    {
462,2297.9077,-1639.9464,14.4352,94.4292},
    {
462,2234.1057,-1726.9386,13.1665,271.7536},
    {
462,2474.5105,-1755.9194,13.2522,270.5967},
    {
462,2489.1560,-1952.6886,13.1366,178.1629},
    {
462,2306.7168,-1989.6796,13.2639,184.8385},
    {
462,2064.9871,-1919.1674,13.2504,180.8575},
    {
462,1824.8976,-2019.8374,13.0875,272.5273},
    {
462,1923.9409,-1795.5616,13.0877,90.0886},
    {
462,1809.9016,-1676.0603,13.2422,180.7589},
    {
462,1809.7056,-1660.3019,13.2380,180.6262},
    {
462,1974.8230,-1693.5488,15.6741,92.1162},
    {
462,1731.9725,-1590.8959,13.1630,77.7249},
    {
462,1695.1428,-1519.2667,13.1671,0.7121},
    }; 
If i delete a car spawn, do i have to change the number on the top?
Reply
#2

Ya, -1. It's the amount of variables into the string. Counts from 0, until 90. Total is 91.

This forum requires that you wait 60 seconds between posts. Please try again in 4 seconds.
Reply
#3

Yes.

(8char)
Reply
#4

thanks
Reply
#5

error 018: initialization data exceeds declared size

-_-

help?
Reply
#6

Quote:
Originally Posted by Farid
Посмотреть сообщение
error 018: initialization data exceeds declared size

-_-

help?
To small number up there, mate
Reply
#7

actually i have 91 vehicles from 1, and from zero 90

i tried to put 90,91, 92 none works
Reply
#8

Quote:
Originally Posted by _rAped
Посмотреть сообщение
Yes.

(8char)
4char*


And yes, you need to comment out the car spawns if you don't want the cars to be spawned.

Also, don't use PHP codes for PAWN..
Reply
#9

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
4char*


And yes, you need to comment out the car spawns if you don't want the cars to be spawned.

Also, don't use PHP codes for PAWN..
i already deleted those that i don't need and changed the number but i dont know whats the problem
Reply
#10

Quote:
Originally Posted by Farid
Посмотреть сообщение
i already deleted those that i don't need and changed the number but i dont know whats the problem
The number has to be the same as the amount of lines(vehicles)....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)