[SOLVED] Bugs with Car spawns :\
#1

Hey guys! i was using debug to save cars coordinates to put em on my server and etc... But Now, after placing the coordinates in my script under public on gamemode init, In my server, I get some bugs. The Cars/vehicules models are spawned alot and alot at the same place so there's maybe 50 cars spawned at same coordinates or around. It does that with all cars and my FPS goes down to 3-4. How to Fix that? I compared my coordinates with a other script and it looks ok :\ what's wrong?


HEre's a pic in a winrar file
Reply
#2

Is there people?
Reply
#3

damn is there someone to help? xd thanks for any answers
Reply
#4

Posted on: Today at 05:49:08 PM... You are only supposed to bump topic after 12 hours. This is marked as spam.
Reply
#5

well saying that didnt help me that much lol anyone
Reply
#6

1. show us ur ongamemodeinit code
2. try to add a : return 1; at the end of OnGameModeInit like
public OnGameModeInit()
{
//blablabla
return 1;
}
________
VAPORIZERS
Reply
#7

We cant help you if you're not showing us your script (OnGameModeiNit)
Reply
#8

ok lol here it is :

public OnGameModeInit()
{
new id;

SetGameModeText("Pmk1's Madhouse DM v1.0b");

// Players
for (id = 0; id <= 299; id++) {
if (id == 265) id = 274; // Skip over the bad ones
AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1 425,0,0,24,300,-1,-1);

AddStaticVehicle(496,2040.2231,1351.6918,10.3883,1 65.8573,4,4); // LV TownSquare Car 1
AddStaticVehicle(563,1619.8687,1262.4503,11.5252,6 2.2300,1,6); // LV Airport Rescue copter
AddStaticVehicle(520,304.3940,1800.9479,18.3638,35 9.5047,0,0); // LV area51 Hydra 1
AddStaticVehicle(520,317.2178,1799.2327,18.3638,1. 0928,0,0); // LV area51 Hydra 2
AddStaticVehicle(520,328.9247,1862.3712,18.4121,92 .3546,0,0); // LV area51 Hydra 3
AddStaticVehicle(425,277.3659,1929.8738,18.2127,25 1.4011,43,0); // LV area51 hunter near hangar
AddStaticVehicle(425,356.2341,1906.0383,18.2098,36 .3325,43,0); // LV area51 hunter 2
AddStaticVehicle(432,278.0982,1953.7766,17.6496,27 2.0016,43,0); // LV area51 tank
AddStaticVehicle(432,276.5198,1989.7419,17.6505,26 6.1670,43,0); // LV area51 tank 2
AddStaticVehicle(432,277.6290,2021.2632,17.6506,27 0.5682,43,0); // LV area51 tank 3
AddStaticVehicle(425,282.6199,2062.7444,18.2127,25 1.6299,43,0); // LV area51 hunter 3
AddStaticVehicle(433,328.8149,1935.9310,18.0772,82 .7063,43,0); // LV area51 army truck
AddStaticVehicle(433,330.2357,1907.0293,18.0773,86 .8371,43,0); // LV area51 army truck 2
AddStaticVehicle(433,87.3892,1911.6304,18.2350,89. 2867,43,0); // LV area51 army truck near gates<
AddStaticVehicle(470,121.9643,1907.2666,18.6939,91 .0069,0,0); // LV area51 army jeep
AddStaticVehicle(470,161.3973,1904.4141,18.7043,35 9.0322,0,0); // LV area51 army jeep 2
AddStaticVehicle(470,167.0494,1904.5671,18.5113,35 4.3035,1,1); // LV area51 army jeep 3
AddStaticVehicle(471,224.9989,1900.7811,17.1306,85 .6136,103,111); // LV area51 army quad 1
AddStaticVehicle(471,223.5701,1883.0657,17.1212,12 5.8965,120,114); // LV area51 army quad 2
AddStaticVehicle(470,224.5765,1890.4259,17.6328,85 .2223,7,7); // LV area51 army jeep 4
AddStaticVehicle(470,225.9689,1897.1808,17.6419,92 .0541,10,10); // LV area51 army jeep 5
AddStaticVehicle(548,201.3775,1890.3069,19.3504,35 7.2896,1,1); // LV area51 army copter
AddStaticVehicle(548,332.1247,1922.5438,19.1969,78 .3136,1,1); // LV area51 army copter 2
AddStaticVehicle(548,357.2842,1928.8676,19.2432,14 9.0639,1,1); // LV area51 army copter 3
AddStaticVehicle(548,332.9162,1832.5281,19.2834,89 .7554,1,1); // LV area51 army copter 4
AddStaticVehicle(522,1038.1638,1420.9666,5.3810,35 9.0699,-1,-1); // LV Stadium nrg parking
AddStaticVehicle(522,1045.5238,1421.2163,5.3855,10 .4138,-1,-1); // LV Stadium nrg parking 2
AddStaticVehicle(494,1077.0735,1418.0009,5.7160,18 2.1177,-1,-1); // LV stadium parking hotring racer 1
AddStaticVehicle(494,1084.0696,1418.7053,5.7148,17 8.1055,-1,-1); // LV stadium parking hotring racer 2
AddStaticVehicle(504,1155.2684,1419.9680,5.6128,35 8.5060,-1,-1); // LV stadium parking bloodring racer 1
AddStaticVehicle(504,1147.4491,1419.5743,5.6129,35 8.4568,-1,-1); // LV stadium parking bloodring racer 2
AddStaticVehicle(504,1137.6787,1417.7070,5.6124,35 9.1312,-1,-1); // LV stadium parking bloodring racer 3
AddStaticVehicle(504,1129.4211,1418.4944,5.6128,35 8.5837,-1,-1); // LV stadium parking bloodring racer 4
AddStaticVehicle(556,1113.9825,1727.3354,11.1953,3 59.2076,-1,-1); // LV Stadium Bigfoot 1
AddStaticVehicle(557,1114.3865,1736.2714,11.2067,0 .4260,-1,-1); // LV Stadium Bigfoot 2
AddStaticVehicle(518,1056.7858,1727.1412,10.4918,3 59.2457,-1,-1); // LV Stadium car 518
AddStaticVehicle(517,1040.7130,1727.0822,10.6752,1 77.8088,-1,-1); // LV Stadium car
AddStaticVehicle(526,1049.6879,1839.0551,10.5869,1 .7256,-1,-1); // front stadium 1
AddStaticVehicle(527,992.1010,1937.9274,10.9887,89 .9720,-1,-1); // LV near stadium
AddStaticVehicle(529,1020.9696,2022.1248,10.7393,2 67.0125,-1,-1); // LV near stadium 2
AddStaticVehicle(558,1091.4574,1983.7457,10.9377,2 74.9411,-1,-1); // LV near stadium 3
AddStaticVehicle(559,1118.2236,2067.8147,10.4766,8 5.9483,-1,-1); // LV near stadium burgershot 1
AddStaticVehicle(560,1117.2917,2094.6799,10.7575,2 69.9139,-1,-1); // LV near stadium burgershot 2
AddStaticVehicle(561,992.3335,2351.7769,11.0454,91 .7226,-1,-1); // LV near desert 2
AddStaticVehicle(562,1040.4534,2317.5354,11.1300,3 58.5430,-1,-1); // LV near desert 1
AddStaticVehicle(514,1133.3022,1903.9094,11.4104,2 71.6022,-1,-1); // LV near Stadium Truck hangars truck 1
AddStaticVehicle(514,1133.6748,1926.1541,11.4063,2 70.0437,-1,-1); // LV near Stadium Truck hangars truck 2
AddStaticVehicle(435,1135.6776,1919.9321,11.4061,2 67.8424,-1,-1); // LV near Stadium Truck hangars Trailer 1
AddStaticVehicle(426,1371.9001,1903.2113,11.0233,8 5.7576,-1,-1); // LV North Airport car 1
AddStaticVehicle(422,1372.6426,2011.4996,11.1884,2 72.3413,-1,-1); // LV North Airport car/truck 2
AddStaticVehicle(415,1512.1285,1999.9094,10.5908,3 .5303,-1,-1); // LV north airport 3
AddStaticVehicle(412,1457.3701,2030.3901,10.6567,1 78.0118,-1,-1); // LV north airport 4
AddStaticVehicle(400,1429.1477,1999.5458,10.9125,3 .8533,-1,-1); // LV north airport car 5
AddStaticVehicle(401,1508.7056,2257.9451,10.6001,3 58.2684,-1,-1); // LV Baseball Stadium car 1
AddStaticVehicle(402,1492.1028,2291.4136,10.6518,1 .4280,-1,-1); // LV Baseball Stadium car 2
AddStaticVehicle(404,1529.2974,2280.7393,10.5520,3 58.6554,-1,-1); // LV Baseball Stadium car 3
AddStaticVehicle(412,1515.8419,2258.7534,10.6343,3 55.8153,-1,-1); // LV Baseball Stadium car 4
AddStaticVehicle(405,1535.9547,2269.6487,10.6877,3 .5195,-1,-1); // LV Baseball Stadium car 5
AddStaticVehicle(410,1539.6105,2291.3193,10.4725,3 57.8062,-1,-1); // LV Baseball Stadium car 6
AddStaticVehicle(411,1502.2915,2280.8188,10.5474,1 81.5773,-1,-1); // LV Baseball Stadium car 7
AddStaticVehicle(413,1512.4694,2268.7119,10.9076,3 58.9246,-1,-1); // LV Baseball Stadium car 8
AddStaticVehicle(414,1340.4783,2239.5845,10.9140,9 2.6264,-1,-1); // LV Baseball Stadium car 9
AddStaticVehicle(414,1357.5366,2235.6536,10.9118,2 68.4507,-1,-1); // LV Baseball Stadium car 10
AddStaticVehicle(439,1530.9365,2214.6702,10.7157,1 79.2863,-1,-1); // LV Baseball Stadium car 11
AddStaticVehicle(440,1527.6849,2203.7725,10.9320,0 .7885,-1,-1); // LV Baseball Stadium car 12
AddStaticVehicle(445,1493.2018,2202.5332,10.6968,1 91.6358,-1,-1); // LV Baseball Stadium car 13
AddStaticVehicle(451,1396.5288,2266.2229,10.5260,2 68.5827,-1,-1); // LV Baseball Stadium car 14
AddStaticVehicle(463,1385.4102,2272.5322,10.3600,2 72.7268,-1,-1); // LV Baseball Stadium car 15
AddStaticVehicle(456,1329.0509,2249.6021,10.9936,2 68.5992,-1,-1); // LV Baseball Stadium car 16
AddStaticVehicle(451,1494.8506,2540.6814,10.5288,2 66.9300,-1,-1); // LV North Neightbor car 1
AddStaticVehicle(463,1369.7563,2576.2454,10.3607,1 75.9866,-1,-1); // LV North Neightbor car 2
AddStaticVehicle(466,1365.2284,2576.3577,10.5623,1 75.6922,-1,-1); // LV North Neightbor car 3
AddStaticVehicle(474,1436.3394,2669.6641,10.4345,9 0.3894,-1,-1); // LV North Neightbor car 4
AddStaticVehicle(475,1307.9835,2697.0320,10.6213,1 .1465,-1,-1); // LV North Neightbor car 5
AddStaticVehicle(477,1285.5291,2696.5713,10.5731,3 57.6991,-1,-1); // LV North Neightbor car 5
AddStaticVehicle(477,1591.2001,2746.4900,10.5774,1 1.7569,-1,-1); // LV North Neightbor car 6
AddStaticVehicle(479,1589.8130,2719.9390,10.6131,2 08.5934,-1,-1); // LV North Neightbor car 7
AddStaticVehicle(480,1636.4694,2745.1035,10.5933,1 87.4593,-1,-1); // LV North Neightbor car 8
AddStaticVehicle(490,1748.0396,2725.7737,10.9648,1 11.9827,-1,-1); // LV North Neightbor 9
AddStaticVehicle(506,1543.5886,2835.1526,10.5249,2 00.5553,-1,-1); // LV North Neightbor 10
AddStaticVehicle(507,1597.2181,2835.5703,10.6447,3 54.4869,-1,-1); // LV North Neightbor 11
AddStaticVehicle(508,1654.8408,2834.0864,11.1950,1 59.6538,-1,-1); // LV North Neightbor 12
AddStaticVehicle(509,1918.6774,2773.7014,10.3255,3 17.9848,-1,-1); // LV North Neightbor 13
AddStaticVehicle(518,2011.3942,2727.7622,10.4983,4 6.6441,-1,-1); // LV North Neightbor 14
AddStaticVehicle(521,2065.4988,2730.9287,10.3916,1 98.5407,-1,-1); // LV North Neightbor 15
AddStaticVehicle(525,2107.4468,2741.4333,10.6974,2 99.0694,-1,-1); // LV North Gas station 16
AddStaticVehicle(526,2166.7932,2751.1592,10.5869,2 68.9212,-1,-1); // LV North Gas station 17
AddStaticVehicle(527,2166.5439,2737.5417,10.5356,8 9.3135,-1,-1); // LV North Gas station 18
AddStaticVehicle(529,2166.7180,2714.1030,10.4533,2 70.6426,-1,-1); // LV North Gas station 19
AddStaticVehicle(533,2141.6526,2814.0962,10.5294,8 7.0639,-1,-1); // LV North Burgershot 20
AddStaticVehicle(534,2142.1563,2795.6792,10.5425,2 69.7974,-1,-1); // LV North Burgershot 21
AddStaticVehicle(535,2175.2549,2787.1633,10.5847,3 59.6256,-1,-1); // LV North Burgershot 22
AddStaticVehicle(536,2160.0691,2787.1565,10.5577,1 70.2571,-1,-1); // LV North Burgershot 23
AddStaticVehicle(540,2167.8152,2787.8918,10.6844,3 55.6900,-1,-1); // LV North Burgershot 24
AddStaticVehicle(415,2166.8911,2710.4546,10.5924,2 71.5112,-1,-1); // LV North gas station 25
AddStaticVehicle(455,2259.2808,2763.6902,11.2572,8 8.0133,-1,-1); // LV North bear burgershot truck 1
AddStaticVehicle(455,2259.7998,2738.5916,11.2574,2 69.3863,-1,-1); // LV North bear burgershot truck 2
AddStaticVehicle(418,2210.0425,2785.8528,10.9135,3 20.4402,-1,-1); // LV North bear burgershot truck 3
AddStaticVehicle(404,2311.0703,2747.5388,10.5526,2 81.6927,-1,-1); // LV North bear burgershot truck 4
AddStaticVehicle(403,2296.7136,2737.6069,11.4272,2 68.4412,-1,-1); // LV North bear burgershot truck 5
AddStaticVehicle(402,2046.2646,2658.3657,10.6588,3 25.6129,-1,-1); // LV North neightbor car 29

}

if (gRoundTime > 0) {
SetTimer("GameModeExitFunc", gRoundTime, 0);
}
return 1;
}
Reply
#9

You placed the car spawns inside a Loop. Doing so you spawn the cars several times in the same place. About 290 cars in the same coords. try that:
pawn Код:
public OnGameModeInit()
{
  new id;
 
  SetGameModeText("Pmk1's Madhouse DM v1.0b");
 
  // Players
  for (id = 0; id <= 299; id++) {
   if (id == 265) id = 274; // Skip over the bad ones
  AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  }
  AddStaticVehicle(496,2040.2231,1351.6918,10.3883,165.8573,4,4); // LV TownSquare Car 1
  AddStaticVehicle(563,1619.8687,1262.4503,11.5252,62.2300,1,6); // LV Airport Rescue copter
  AddStaticVehicle(520,304.3940,1800.9479,18.3638,359.5047,0,0); // LV area51 Hydra 1
  AddStaticVehicle(520,317.2178,1799.2327,18.3638,1.0928,0,0); // LV area51 Hydra 2
  AddStaticVehicle(520,328.9247,1862.3712,18.4121,92.3546,0,0); // LV area51 Hydra 3
  AddStaticVehicle(425,277.3659,1929.8738,18.2127,251.4011,43,0); // LV area51 hunter near hangar
  AddStaticVehicle(425,356.2341,1906.0383,18.2098,36.3325,43,0); // LV area51 hunter 2
  AddStaticVehicle(432,278.0982,1953.7766,17.6496,272.0016,43,0); // LV area51 tank
  AddStaticVehicle(432,276.5198,1989.7419,17.6505,266.1670,43,0); // LV area51 tank 2
  AddStaticVehicle(432,277.6290,2021.2632,17.6506,270.5682,43,0); // LV area51 tank 3
  AddStaticVehicle(425,282.6199,2062.7444,18.2127,251.6299,43,0); // LV area51 hunter 3
  AddStaticVehicle(433,328.8149,1935.9310,18.0772,82.7063,43,0); // LV area51 army truck
  AddStaticVehicle(433,330.2357,1907.0293,18.0773,86.8371,43,0); // LV area51 army truck 2
  AddStaticVehicle(433,87.3892,1911.6304,18.2350,89.2867,43,0); // LV area51 army truck near gates<
  AddStaticVehicle(470,121.9643,1907.2666,18.6939,91.0069,0,0); // LV area51 army jeep
  AddStaticVehicle(470,161.3973,1904.4141,18.7043,359.0322,0,0); // LV area51 army jeep 2
  AddStaticVehicle(470,167.0494,1904.5671,18.5113,354.3035,1,1); // LV area51 army jeep 3
  AddStaticVehicle(471,224.9989,1900.7811,17.1306,85.6136,103,111); // LV area51 army quad 1
  AddStaticVehicle(471,223.5701,1883.0657,17.1212,125.8965,120,114); // LV area51 army quad 2
  AddStaticVehicle(470,224.5765,1890.4259,17.6328,85.2223,7,7); // LV area51 army jeep 4
  AddStaticVehicle(470,225.9689,1897.1808,17.6419,92.0541,10,10); // LV area51 army jeep 5
  AddStaticVehicle(548,201.3775,1890.3069,19.3504,357.2896,1,1); // LV area51 army copter
  AddStaticVehicle(548,332.1247,1922.5438,19.1969,78.3136,1,1); // LV area51 army copter 2
  AddStaticVehicle(548,357.2842,1928.8676,19.2432,149.0639,1,1); // LV area51 army copter 3
  AddStaticVehicle(548,332.9162,1832.5281,19.2834,89.7554,1,1); // LV area51 army copter 4
  AddStaticVehicle(522,1038.1638,1420.9666,5.3810,359.0699,-1,-1); // LV Stadium nrg parking
  AddStaticVehicle(522,1045.5238,1421.2163,5.3855,10.4138,-1,-1); // LV Stadium nrg parking 2
  AddStaticVehicle(494,1077.0735,1418.0009,5.7160,182.1177,-1,-1); // LV stadium parking hotring racer 1
  AddStaticVehicle(494,1084.0696,1418.7053,5.7148,178.1055,-1,-1); // LV stadium parking hotring racer 2
  AddStaticVehicle(504,1155.2684,1419.9680,5.6128,358.5060,-1,-1); // LV stadium parking bloodring racer 1
  AddStaticVehicle(504,1147.4491,1419.5743,5.6129,358.4568,-1,-1); // LV stadium parking bloodring racer 2
  AddStaticVehicle(504,1137.6787,1417.7070,5.6124,359.1312,-1,-1); // LV stadium parking bloodring racer 3
  AddStaticVehicle(504,1129.4211,1418.4944,5.6128,358.5837,-1,-1); // LV stadium parking bloodring racer 4
  AddStaticVehicle(556,1113.9825,1727.3354,11.1953,359.2076,-1,-1); // LV Stadium Bigfoot 1
  AddStaticVehicle(557,1114.3865,1736.2714,11.2067,0.4260,-1,-1); // LV Stadium Bigfoot 2
  AddStaticVehicle(518,1056.7858,1727.1412,10.4918,359.2457,-1,-1); // LV Stadium car 518
  AddStaticVehicle(517,1040.7130,1727.0822,10.6752,177.8088,-1,-1); // LV Stadium car
  AddStaticVehicle(526,1049.6879,1839.0551,10.5869,1.7256,-1,-1); // front stadium 1
  AddStaticVehicle(527,992.1010,1937.9274,10.9887,89.9720,-1,-1); // LV near stadium
  AddStaticVehicle(529,1020.9696,2022.1248,10.7393,267.0125,-1,-1); // LV near stadium 2
  AddStaticVehicle(558,1091.4574,1983.7457,10.9377,274.9411,-1,-1); // LV near stadium 3
  AddStaticVehicle(559,1118.2236,2067.8147,10.4766,85.9483,-1,-1); // LV near stadium burgershot 1
  AddStaticVehicle(560,1117.2917,2094.6799,10.7575,269.9139,-1,-1); // LV near stadium burgershot 2
  AddStaticVehicle(561,992.3335,2351.7769,11.0454,91.7226,-1,-1); // LV near desert 2
  AddStaticVehicle(562,1040.4534,2317.5354,11.1300,358.5430,-1,-1); // LV near desert 1
  AddStaticVehicle(514,1133.3022,1903.9094,11.4104,271.6022,-1,-1); // LV near Stadium Truck hangars truck 1
  AddStaticVehicle(514,1133.6748,1926.1541,11.4063,270.0437,-1,-1); // LV near Stadium Truck hangars truck 2
  AddStaticVehicle(435,1135.6776,1919.9321,11.4061,267.8424,-1,-1); // LV near Stadium Truck hangars Trailer 1
  AddStaticVehicle(426,1371.9001,1903.2113,11.0233,85.7576,-1,-1); // LV North Airport car 1
  AddStaticVehicle(422,1372.6426,2011.4996,11.1884,272.3413,-1,-1); // LV North Airport car/truck 2
  AddStaticVehicle(415,1512.1285,1999.9094,10.5908,3.5303,-1,-1); // LV north airport 3
  AddStaticVehicle(412,1457.3701,2030.3901,10.6567,178.0118,-1,-1); // LV north airport 4
  AddStaticVehicle(400,1429.1477,1999.5458,10.9125,3.8533,-1,-1); // LV north airport car 5
  AddStaticVehicle(401,1508.7056,2257.9451,10.6001,358.2684,-1,-1); // LV Baseball Stadium car 1
  AddStaticVehicle(402,1492.1028,2291.4136,10.6518,1.4280,-1,-1); // LV Baseball Stadium car 2
  AddStaticVehicle(404,1529.2974,2280.7393,10.5520,358.6554,-1,-1); // LV Baseball Stadium car 3
  AddStaticVehicle(412,1515.8419,2258.7534,10.6343,355.8153,-1,-1); // LV Baseball Stadium car 4
  AddStaticVehicle(405,1535.9547,2269.6487,10.6877,3.5195,-1,-1); // LV Baseball Stadium car 5
  AddStaticVehicle(410,1539.6105,2291.3193,10.4725,357.8062,-1,-1); // LV Baseball Stadium car 6
  AddStaticVehicle(411,1502.2915,2280.8188,10.5474,181.5773,-1,-1); // LV Baseball Stadium car 7
  AddStaticVehicle(413,1512.4694,2268.7119,10.9076,358.9246,-1,-1); // LV Baseball Stadium car 8
  AddStaticVehicle(414,1340.4783,2239.5845,10.9140,92.6264,-1,-1); // LV Baseball Stadium car 9
  AddStaticVehicle(414,1357.5366,2235.6536,10.9118,268.4507,-1,-1); // LV Baseball Stadium car 10
  AddStaticVehicle(439,1530.9365,2214.6702,10.7157,179.2863,-1,-1); // LV Baseball Stadium car 11
  AddStaticVehicle(440,1527.6849,2203.7725,10.9320,0.7885,-1,-1); // LV Baseball Stadium car 12
  AddStaticVehicle(445,1493.2018,2202.5332,10.6968,191.6358,-1,-1); // LV Baseball Stadium car 13
  AddStaticVehicle(451,1396.5288,2266.2229,10.5260,268.5827,-1,-1); // LV Baseball Stadium car 14
  AddStaticVehicle(463,1385.4102,2272.5322,10.3600,272.7268,-1,-1); // LV Baseball Stadium car 15
  AddStaticVehicle(456,1329.0509,2249.6021,10.9936,268.5992,-1,-1); // LV Baseball Stadium car 16
  AddStaticVehicle(451,1494.8506,2540.6814,10.5288,266.9300,-1,-1); // LV North Neightbor car 1
  AddStaticVehicle(463,1369.7563,2576.2454,10.3607,175.9866,-1,-1); // LV North Neightbor car 2
  AddStaticVehicle(466,1365.2284,2576.3577,10.5623,175.6922,-1,-1); // LV North Neightbor car 3
  AddStaticVehicle(474,1436.3394,2669.6641,10.4345,90.3894,-1,-1); // LV North Neightbor car 4
  AddStaticVehicle(475,1307.9835,2697.0320,10.6213,1.1465,-1,-1); // LV North Neightbor car 5
  AddStaticVehicle(477,1285.5291,2696.5713,10.5731,357.6991,-1,-1); // LV North Neightbor car 5
  AddStaticVehicle(477,1591.2001,2746.4900,10.5774,11.7569,-1,-1); // LV North Neightbor car 6
  AddStaticVehicle(479,1589.8130,2719.9390,10.6131,208.5934,-1,-1); // LV North Neightbor car 7
  AddStaticVehicle(480,1636.4694,2745.1035,10.5933,187.4593,-1,-1); // LV North Neightbor car 8
  AddStaticVehicle(490,1748.0396,2725.7737,10.9648,111.9827,-1,-1); // LV North Neightbor 9
  AddStaticVehicle(506,1543.5886,2835.1526,10.5249,200.5553,-1,-1); // LV North Neightbor 10
  AddStaticVehicle(507,1597.2181,2835.5703,10.6447,354.4869,-1,-1); // LV North Neightbor 11
  AddStaticVehicle(508,1654.8408,2834.0864,11.1950,159.6538,-1,-1); // LV North Neightbor 12
  AddStaticVehicle(509,1918.6774,2773.7014,10.3255,317.9848,-1,-1); // LV North Neightbor 13
  AddStaticVehicle(518,2011.3942,2727.7622,10.4983,46.6441,-1,-1); // LV North Neightbor 14
  AddStaticVehicle(521,2065.4988,2730.9287,10.3916,198.5407,-1,-1); // LV North Neightbor 15
  AddStaticVehicle(525,2107.4468,2741.4333,10.6974,299.0694,-1,-1); // LV North Gas station 16
  AddStaticVehicle(526,2166.7932,2751.1592,10.5869,268.9212,-1,-1); // LV North Gas station 17
  AddStaticVehicle(527,2166.5439,2737.5417,10.5356,89.3135,-1,-1); // LV North Gas station 18
  AddStaticVehicle(529,2166.7180,2714.1030,10.4533,270.6426,-1,-1); // LV North Gas station 19
  AddStaticVehicle(533,2141.6526,2814.0962,10.5294,87.0639,-1,-1); // LV North Burgershot 20
  AddStaticVehicle(534,2142.1563,2795.6792,10.5425,269.7974,-1,-1); // LV North Burgershot 21
  AddStaticVehicle(535,2175.2549,2787.1633,10.5847,359.6256,-1,-1); // LV North Burgershot 22
  AddStaticVehicle(536,2160.0691,2787.1565,10.5577,170.2571,-1,-1); // LV North Burgershot 23
  AddStaticVehicle(540,2167.8152,2787.8918,10.6844,355.6900,-1,-1); // LV North Burgershot 24
  AddStaticVehicle(415,2166.8911,2710.4546,10.5924,271.5112,-1,-1); // LV North gas station 25
  AddStaticVehicle(455,2259.2808,2763.6902,11.2572,88.0133,-1,-1); // LV North bear burgershot truck 1
  AddStaticVehicle(455,2259.7998,2738.5916,11.2574,269.3863,-1,-1); // LV North bear burgershot truck 2
  AddStaticVehicle(418,2210.0425,2785.8528,10.9135,320.4402,-1,-1); // LV North bear burgershot truck 3
  AddStaticVehicle(404,2311.0703,2747.5388,10.5526,281.6927,-1,-1); // LV North bear burgershot truck 4
  AddStaticVehicle(403,2296.7136,2737.6069,11.4272,268.4412,-1,-1); // LV North bear burgershot truck 5
  AddStaticVehicle(402,2046.2646,2658.3657,10.6588,325.6129,-1,-1); // LV North neightbor car 29
 
  if (gRoundTime > 0) {
    SetTimer("GameModeExitFunc", gRoundTime, 0);
  }
  return 1;
}
Reply
#10

yea thanks it worked! But can you Tell me why i had this loop? Was it becuz i missed a } after Addplayerclass(...) ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)