SA-MP Forums Archive
What could be causing this - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What could be causing this (/showthread.php?tid=127351)



What could be causing this - ihatetn931 - 13.02.2010

What could be causing my cars to do this? I've got all my cars right next to each other, When i respawn them they show, Like the tank you can see i respawned but i didn't respawn the others, I can't figure out whats causing it. If you look at the pic you can see the other tanks shadows




Re: What could be causing this - robert4049 - 13.02.2010

ummm just spawning to close together objects one of many million things just try adjusting the x,y,s by .1 should help


Re: What could be causing this - ihatetn931 - 13.02.2010

Quote:
Originally Posted by robert4049
ummm just spawning to close together objects one of many million things just try adjusting the x,y,s by .1 should help
Well helis that are like 50 feet away from each other do the same thing i will post a pic if nesscary


Re: What could be causing this - [HiC]TheKiller - 13.02.2010

Make sure that all those cars are in the right virtual world/interior.


Re: What could be causing this - ihatetn931 - 13.02.2010

Quote:
Originally Posted by [HiC
TheKiller ]
Make sure that all those cars are in the right virtual world/interior.
I'm pretty sure they are, They're below my cop cars which are working fine i haven't put anywhere setinterior or virtual world. This is my whole car list all cars work fine besides the area 69 ones

pawn Код:
AddStaticVehicle(447,1567.2365,-1697.7336,28.6661,90.3464,0,1);
    AddStaticVehicle(598,1558.6132,-1709.8647,5.6129,0.0305,16,1); // Sherriff
    AddStaticVehicle(598,1562.7620,-1709.2578,5.6108,0.0513,16,1); // Sherriff
    AddStaticVehicle(598,1566.5897,-1710.1611,5.6107,358.3835,16,1); // Sherriff
    AddStaticVehicle(598,1570.3728,-1710.1533,5.6127,0.2358,16,1); // Sherriff
    AddStaticVehicle(598,1574.3444,-1710.3970,5.6119,359.4126,16,1); // Sherriff
    AddStaticVehicle(598,1578.3912,-1709.7290,5.6114,0.4829,16,1); // Sherriff
    AddStaticVehicle(596,1583.4180,-1709.7034,5.6126,359.5226,0,1); // Police
    AddStaticVehicle(596,1587.6882,-1710.3798,5.6103,0.1748,0,1); // Police
    AddStaticVehicle(596,1591.2312,-1710.3164,5.6128,359.3491,0,1); // Police
    AddStaticVehicle(596,1595.5161,-1709.5475,5.6119,359.0793,0,1); // Police
    AddStaticVehicle(596,1600.9193,-1704.6422,5.6108,90.7005,0,1); // Police
    AddStaticVehicle(596,1601.0083,-1700.3632,5.6122,89.9333,0,1); // Police
    AddStaticVehicle(596,1601.6565,-1696.5292,5.6324,89.0001,0,1); // Police
    AddStaticVehicle(427,1534.7615,-1645.6879,6.0225,179.4303,0,1); // ENFORCER
    AddStaticVehicle(427,1538.9200,-1645.9788,6.0225,178.9197,0,1); // ENFORCER
    AddStaticVehicle(601,1530.5811,-1645.0466,5.6494,180.2594,1,1); // SWAT Tank
    AddStaticVehicle(490,1544.8245,-1684.6210,6.0180,89.1638,0,0); // FBI
    AddStaticVehicle(490,1544.4955,-1680.4653,6.0195,90.7859,0,0); // FBI
    AddStaticVehicle(490,1544.2496,-1676.0742,6.0168,90.1165,0,0); // FBI
    AddStaticVehicle(523,1547.4041,-1689.1057,5.4615,94.7270,0,0); // BIKE
    AddStaticVehicle(523,1546.8240,-1690.7336,5.4665,92.6761,0,0); // BIKE
    AddStaticVehicle(523,1547.3309,-1692.8013,5.4631,89.8783,0,0); // BIKE
    AddStaticVehicle(523,1547.5559,-1694.6616,5.4614,92.8938,0,0); // BIKE
    AddStaticVehicle(497,1565.2407,-1643.0388,28.5788,83.3709,0,1); // MAVERICK
    AddStaticVehicle(497,1566.7808,-1653.2820,28.5727,88.9422,0,1); // MAVERICK
    AddStaticVehicle(426,1585.7317,-1671.7059,5.6365,269.8075,0,0); // UC
    AddStaticVehicle(426,1585.7307,-1667.6991,5.6351,268.9570,0,0); // UC
    AddStaticVehicle(426,1586.1276,-1675.8540,5.6387,269.9471,0,0); // UC
    AddStaticVehicle(426,1585.9265,-1679.3613,5.6402,269.3135,0,0); // UC/
    AddStaticVehicle(599,1544.2280,-1671.7462,6.0844,89.0654,0,1); // PD Rancher
    AddStaticVehicle(599,1544.4189,-1668.0271,6.0803,89.3790,0,1); // PD Rancher
    AddStaticVehicle(599,1545.0565,-1663.0596,6.0765,91.5300,0,1); // Sheriff Rancher
    AddStaticVehicle(411,1545.0909,-1659.3271,5.6177,89.9533,64,1); // PD infernus
    AddStaticVehicle(411,1545.2957,-1655.2411,5.6177,89.6461,64,1); // PD infernus
    AddStaticVehicle(411,1544.9807,-1651.1002,5.6177,89.2064,64,1); // PD infernus
    //EMS Vehicles
    AddStaticVehicle(563,1161.5728,-1360.0551,27.3563,182.2790,3,1); // Raindance (EMS)
    AddStaticVehicle(416,1181.463501,-1308.673706,13.939081,270.0,3,1);//ambulance
    AddStaticVehicle(416, 1181.7,-1339.2,13.8,270.0,3,1);
    AddStaticVehicle(416, 1183.0,-1329.7,13.7,1.0,3,1);
    //AirPort Vehicles
    //CreateVehicle(476,1935.763794,-2416.733887,13.846451,89.0,-1, -1, -1);//dodos//ls
    //CreateVehicle(511,1848.121704,-2435.860352,13.754265,89.0,-1, -1, -1);//ls
    CreateVehicle(487,1922.0591,-2239.9802,13.1718,181.4314,-1,-1,never); // maverick 1
    CreateVehicle(469,1995.6588,-2249.8618,13.1718,90.9696,-1,-1,never); // maverick 2
    CreateVehicle(487,1995.8260,-2316.3018,13.1720,88.6825,-1,-1,never); // maverick 3
    CreateVehicle(469,1994.2709,-2382.9570,13.1719,90.1198,-1,-1,never); // maverick 4
    CreateVehicle(593,1888.4539,-2625.8582,13.2669,1.3595,-1,-1,60000); // shamal 1
    CreateVehicle(519,1822.3032,-2625.8582,13.2669,1.3595,-1,-1,60000); // shamal 2
    CreateVehicle(593,1756.1525,-2625.8582,13.2669,1.3595,-1,-1,60000); // shamal 3
    CreateVehicle(519,1690.3032,-2625.8582,13.2669,1.3595,-1,-1,60000); // shamal 4
    CreateVehicle(593,1623.8511,-2625.8582,13.2669,1.3595,-1,-1,60000); // shamal 5
    //Rental Cars
  //AddStaticVehicle(598,559.5225,-1286.6775,16.9927,358.3098,16,1); //
//  AddStaticVehicle(598,555.3522,-1285.7397,16.9935,359.3387,16,1); //
//  AddStaticVehicle(598,548.0857,-1285.9663,16.9950,356.0689,16,1); //
//  AddStaticVehicle(598,540.7273,-1286.4143,16.9892,359.3208,16,1); //
//  AddStaticVehicle(598,533.0241,-1286.3174,16.9887,353.3842,16,1); //
//  AddStaticVehicle(598,528.6403,-1286.2938,16.9900,355.3519,16,1); //
//  AddStaticVehicle(598,522.1392,-1287.6284,16.9905,0.0052,16,1); //
//  AddStaticVehicle(436,551.7929,-1285.5260,16.9303,0.4147,-1, -1);//? bullit
//  AddStaticVehicle(436,536.9888,-1286.5275,16.9993,359.1704,-1, -1); //? infurnus //nowcheeta
//  AddStaticVehicle(436,544.1793,-1286.1422,16.9492,7.3116,-1, -1);//turismo
//  AddStaticVehicle(436,2128.2063,-1141.5492,24.8090,42.9799,-1, -1); //banshee
//  AddStaticVehicle(436,2131.3589,-1138.5345,25.1992,40.9620,-1, -1); //cheeta
//  AddStaticVehicle(436,2134.7695,-1134.7576,25.4289,46.3918,-1, -1); //comet
    //Boats
    CreateVehicle(493, 720.1,-1694.0,-0.4,179.4,-1,-1,-1);
    CreateVehicle(493, 721.2,-1629.4,-0.4,180.9,-1,-1,-1);
    CreateVehicle(493, 739.5,-1670.5,-0.6,177.5,-1,-1,-1);// new jetmax
    CreateVehicle(493, 737.7,-1639.9,-0.6,178.1,-1,-1,-1);
    CreateVehicle(493, 714.3,-1672.0,-0.5,182.2,-1,-1,-1);
    //Garbage Trucks
    AddStaticVehicleEx(408,2170.0000,-1984.2969,14.0998,270.0000,1,1,60); // Garbage Truck garbagejob 96
    AddStaticVehicleEx(408,2170.0000,-1978.5972,14.1096,270.0000,1,1,60); // Garbage Truck garbagejob 97
    AddStaticVehicleEx(408,2183.7861,-1993.4991,14.0846,360.0000,1,1,60); // Garbage Truck garbagejob 98
    AddStaticVehicleEx(408,2190.9241,-1998.2997,14.0873,360.0000,1,1,60); // Garbage Truck garbagejob 99
    //Trucks For Trucker Jobs
    AddStaticVehicle(515,-60.1495,-1131.6028,2.0980,69.8610,63,78); // truck 1
    AddStaticVehicle(584,-46.4548,-1136.6243,2.0987,69.8611,63,78); // trailer 1
    AddStaticVehicle(515,-61.6878,-1136.7097,2.0966,70.1041,63,78); // truck 2
    AddStaticVehicle(584,-48.3396,-1141.5400,2.1278,70.1037,63,78); // trailer 2
//  AddStaticVehicle(514,-45.5313,-1136.4913,1.6620,69.2804,25,1); // Gas Hauler 1
//  AddStaticVehicle(514,-47.1747,-1141.0380,1.6607,69.1574,28,1); // Gas Hauler 2
/// AddStaticVehicle(514,-48.6413,-1146.0581,1.6643,66.8550,36,1); // Gas Hauler 3
//  AddStaticVehicle(514,-51.1539,-1151.4966,1.6644,64.5856,113,1); // Gas Hauler 4
//  AddStaticVehicle(514,-76.4919,-1106.8199,1.6862,159.7811,37,1); // truck 5
//  AddStaticVehicle(514,-71.7480,-1109.2712,1.6842,159.8899,30,1); // truck 6
//  AddStaticVehicle(514,-66.5787,-1111.2463,1.6849,159.6209,28,1); // truck 7
    //Tow Trucks
//  AddStaticVehicle(525,1708.9154,-1456.6030,13.4245,180.6920,17,20); // Tow Truck 1
//  AddStaticVehicle(525,1708.8784,-1464.6084,13.4256,179.3472,18,20); // Tow Truck 2
//  AddStaticVehicle(525,1716.6643,-1473.9419,13.4278,89.8247,22,30); // Tow Truck 3
//  AddStaticVehicle(525,1711.6866,-1481.3990,13.4225,141.3379,36,43); // Tow Truck 4
    //Taxis
    CreateVehicle(420,1803.0245,-1933.0,13.0952,270.0,6,6,300000); // taxi1
    CreateVehicle(438,1803.0245,-1929.0,13.0969,270.0,6,6,300000); // taxi2
    CreateVehicle(420,1803.0245,-1925.0,13.0990,270.0,6,6,300000); // taxi3
    CreateVehicle(438,1803.0245,-1921.0,13.1014,270.0,6,6,300000); // taxi4
    CreateVehicle(420,1803.0245,-1917.0,13.1031,270.0,6,6,300000); // taxi5
    CreateVehicle(438,1803.0245,-1913.0,13.1053,270.0,6,6,300000); // taxi6
    CreateVehicle(420,1803.0245,-1909.0,13.1079,270.0,6,6,300000); // taxi7
    CreateVehicle(438,1803.0245,-1905.0,13.1098,270.0,6,6,300000); // taxi8
    CreateVehicle(420,1803.0245,-1901.0,13.1112,270.0,6,6,300000); // taxi9
    //Pizza Bikes
    CreateVehicle(404,2125.8384,-1793.4210,13.4447,180.0640,51,75,60000); // pizzaboy 1
    CreateVehicle(448,2125.8384,-1798.4210,13.4467,180.0640,51,75,60000); // pizzaboy 2
    CreateVehicle(404,2125.8384,-1803.4210,13.4488,180.0640,51,75,60000); // pizzaboy 3
    CreateVehicle(448,2125.8384,-1808.4210,13.4490,180.0640,51,75,60000); // pizzaboy 4
    //License car
    AddStaticVehicle(405,1276.3203,-1353.7257,13.2200,180.1345,11,1); // licensecar 1
    AddStaticVehicle(405,1276.1471,-1365.3693,13.1619,180.6322,24,1); // licensecar 2
    AddStaticVehicle(405,1276.2484,-1374.4603,13.1132,180.6362,24,1); // licensecar 3
    AddStaticVehicle(405,1276.3073,-1380.9441,13.0873,180.3472,24,1); // licensecar 4
    //License Planes
    AddStaticVehicle(511,1880.4886,-2286.3542,13.8229,242.9531,-1,-1); // Flying Test Plane 1 [cropduster]
    AddStaticVehicle(511,1896.5350,-2268.0820,14.9175,226.7725,-1,-1); // Flying Test Plane 2 [cropduster]
    //street sweepers
    CreateVehicle(574,1650.9078,-1080.0154,23.5782,88.6853,random(126),random(126),3000); // STREETSWEEPER
    CreateVehicle(574,1651.0640,-1084.5808,23.5860,89.7618,random(126),random(126),3000); // STREETSWEEPER2
    CreateVehicle(574,1650.7605,-1089.2020,23.5861,89.4675,random(126),random(126),3000); // STREETSWEEPER3
    CreateVehicle(574,1650.9738,-1093.5879,23.5860,89.1991,random(126),random(126),3000); // STREETSWEEPER4
    CreateVehicle(574,1651.1619,-1098.1993,23.5679,89.4568,random(126),random(126),3000); // STREETSWEEPER5
    CreateVehicle(574,1651.1349,-1102.7468,23.5721,89.1951,random(126),random(126),3000); // STREETSWEEPER6
    CreateVehicle(574,1650.6781,-1107.0531,23.5860,89.6816,random(126),random(126),3000); // STREETSWEEPER7
    CreateVehicle(574,1650.9568,-1111.4648,23.5938,90.4607,random(126),random(126),3000); // STREETSWEEPER8
    //Area 51 Cars
    AddStaticVehicle(432,275.6288,1960.6150,17.6538,267.1299,0,0); // Rhino1
    AddStaticVehicle(432,275.0945,1954.6194,17.6569,267.8886,0,0); // Rhino2
    AddStaticVehicle(432,274.7009,1948.4991,17.6478,269.6272,0,0); // Rhino3
    AddStaticVehicle(425,282.3853,1990.5039,18.2129,265.2835,0,0); // Hunter1
    AddStaticVehicle(425,279.2631,2027.0315,18.2186,268.2867,0,0); // Hunter2
    AddStaticVehicle(417,305.3889,2029.4552,17.7249,176.9427,0,0); // Levathian1
    AddStaticVehicle(417,305.5054,2004.0532,17.7559,180.9545,0,0); // Levathian2
    AddStaticVehicle(417,305.0056,1982.3099,17.7096,179.1687,0,0); // Levathian3
    AddStaticVehicle(470,140.4249,1927.9146,19.1908,180.6964,0,0); // PatriotArea51
    AddStaticVehicle(470,136.2750,1927.6685,19.2210,181.0269,0,0); // PatriotArea51
    AddStaticVehicle(470,131.7767,1927.6117,19.1966,180.3587,0,0); // PatriotArea51
    AddStaticVehicle(470,126.5234,1927.8384,19.1997,175.1337,0,0); // PatriotArea51
    AddStaticVehicle(426,204.9984,1865.5309,12.8651,268.7264,0,0); // AREA51Premier
    AddStaticVehicle(426,204.9544,1861.3262,12.8612,267.3600,0,0); // AREA51Premier



Re: What could be causing this - [Bm]rap45 - 13.02.2010

Well are you sure you haven't passed the model/vehicle limit? because it can cause invisible car D:


Re: What could be causing this - ihatetn931 - 13.02.2010

Quote:
Originally Posted by [Bm
rap45 ]
Well are you sure you haven't passed the model/vehicle limit? because it can cause invisible car D:
That i know of i have 34 models and like 100 cars, Thats no where near the limit that i know of. This is on a 0.3a server


Re: What could be causing this - bluray - 13.02.2010

are you placing these on a custom map, if so that could be the problem?


Re: What could be causing this - ihatetn931 - 13.02.2010

Quote:
Originally Posted by bluray
are you placing these on a custom map, if so that could be the problem?
Nope, They're on the orginal map, I only got some objects but no custom maps. They are sitting in the area 69 hangar


Re: What could be causing this - [Bm]rap45 - 13.02.2010

I know that this is samp 0.3a no need to tell that. But your problem is weird