AddStaticVehicle Problem
#1

Hi, I have a problem. I have about 600 lines of vehicles, but i did a teleport for truck base, and i need vehicles of course there. So I added some AddStaticVehicle lines to the script. They seem to be right, but they don't work ingame Please help me out!! I would appreciate help.

Here is how it looks:
Quote:

//-------------------------------------------------------------------------baza3
AddStaticVehicle(414,1414.4829,977.4899,10.5400,0. 8113,64,1); // Mule1
AddStaticVehicle(414,1394.9559,1019.0833,10.5474,2 69.6011,64,1); // Mule2
AddStaticVehicle(414,1394.1383,1027.4606,10.5474,2 71.5523,64,1); // Mule3
AddStaticVehicle(403,1393.7778,1033.7952,10.5474,2 70.0107,64,1); // Truck1
AddStaticVehicle(515,1394.0161,1042.1210,10.5474,2 70.9759,64,1); // Truck2
AddStaticVehicle(435,1394.2793,1050.3032,10.5474,2 68.5280,64,1); // Naczepa1
AddStaticVehicle(435,1393.4453,1059.0098,10.5474,2 72.1923,64,1); // Naczepa2
AddStaticVehicle(435,1422.0858,1038.9500,10.2839,8 9.2493,64,1); // Naczepa3
AddStaticVehicle(450,1421.8083,1029.4998,10.3067,9 3.6927,64,1); // Naczepa4
AddStaticVehicle(584,1422.1215,1066.6923,10.2813,9 0.6750,64,1); // Naczepa5
AddStaticVehicle(514,1425.0377,1044.9528,10.5474,8 6.6083,64,1); // Truck3
AddStaticVehicle(514,1424.0583,1051.8806,10.5429,9 1.3206,64,1); // Truck4
AddStaticVehicle(514,1422.1481,1059.5924,10.5400,8 7.6204,64,1); // Truck5
AddStaticVehicle(440,1398.8359,976.7652,10.5474,4. 9121,64,1); // Rumpo1
AddStaticVehicle(440,1389.6947,974.3378,10.5475,35 5.0488,64,1); // Rumpo2
return 1;
}

Section below, is section of vehicles for the truck base I have made. It doesn't work and when I insert more lines, they don't work as well Please help me!! XD

Thanks and Regards
Puzi
Reply
#2

lol dude.

Here is your Code:
(unter OnGameModeInit)
Код:
//-------------------------------------------------------------------------baza3
  AddStaticVehicle(414,1414.4829,977.4899,10.5400,0.8113,64,1); // Mule1
  AddStaticVehicle(414,1394.9559,1019.0833,10.5474,269.6011,64,1); // Mule2
  AddStaticVehicle(414,1394.1383,1027.4606,10.5474,271.5523,64,1); // Mule3
  AddStaticVehicle(403,1393.7778,1033.7952,10.5474,270.0107,64,1); // Truck1
  AddStaticVehicle(515,1394.0161,1042.1210,10.5474,270.9759,64,1); // Truck2
  AddStaticVehicle(435,1394.2793,1050.3032,10.5474,268.5280,64,1); // Naczepa1
  AddStaticVehicle(435,1393.4453,1059.0098,10.5474,272.1923,64,1); // Naczepa2
  AddStaticVehicle(435,1422.0858,1038.9500,10.2839,89.2493,64,1); // Naczepa3
  AddStaticVehicle(450,1421.8083,1029.4998,10.3067,93.6927,64,1); // Naczepa4
  AddStaticVehicle(584,1422.1215,1066.6923,10.2813,90.6750,64,1); // Naczepa5
  AddStaticVehicle(514,1425.0377,1044.9528,10.5474,86.6083,64,1); // Truck3
  AddStaticVehicle(514,1424.0583,1051.8806,10.5429,91.3206,64,1); // Truck4
  AddStaticVehicle(514,1422.1481,1059.5924,10.5400,87.6204,64,1); // Truck5
  AddStaticVehicle(440,1398.8359,976.7652,10.5474,4.9121,64,1); // Rumpo1
  AddStaticVehicle(440,1389.6947,974.3378,10.5475,355.0488,64,1); // Rumpo2
Reply
#3

I'll check it, hope it works :P
Reply
#4

Sure it works^^
Reply
#5

Hmm unfortunately no

I'll show you two sections so you can figure out more The one above works perfectly

Код:
//-----------------------------------------------------------Packery i Towtrucki
AddStaticVehicle(525,-1531.0347,455.2143,7.0548,268.7697,1,5); //
AddStaticVehicle(525,-1530.6024,446.0940,7.0699,276.4834,1,5); //
AddStaticVehicle(525,-1531.3059,434.6304,7.0658,271.5552,1,5); //
AddStaticVehicle(525,-1530.7520,425.7766,7.0455,270.4898,1,5); //
AddStaticVehicle(525,-1528.9226,416.0056,7.0636,274.2818,1,5); //
AddStaticVehicle(525,-1529.8331,404.1414,7.0420,272.0666,1,5); //
AddStaticVehicle(525,-1531.1554,396.4240,7.0644,268.9322,1,5); //
AddStaticVehicle(443,-1556.7911,365.5552,7.8216,175.4128,0,1); //
AddStaticVehicle(443,-1568.1486,366.7762,7.8210,181.1399,0,1); //
//-------------------------------------------------------------------------baza3
  AddStaticVehicle(414,1414.4829,977.4899,10.5400,0.8113,64,1); // Mule1
  AddStaticVehicle(414,1394.9559,1019.0833,10.5474,269.6011,64,1); // Mule2
  AddStaticVehicle(414,1394.1383,1027.4606,10.5474,271.5523,64,1); // Mule3
  AddStaticVehicle(403,1393.7778,1033.7952,10.5474,270.0107,64,1); // Truck1
  AddStaticVehicle(515,1394.0161,1042.1210,10.5474,270.9759,64,1); // Truck2
  AddStaticVehicle(435,1394.2793,1050.3032,10.5474,268.5280,64,1); // Naczepa1
  AddStaticVehicle(435,1393.4453,1059.0098,10.5474,272.1923,64,1); // Naczepa2
  AddStaticVehicle(435,1422.0858,1038.9500,10.2839,89.2493,64,1); // Naczepa3
  AddStaticVehicle(450,1421.8083,1029.4998,10.3067,93.6927,64,1); // Naczepa4
  AddStaticVehicle(584,1422.1215,1066.6923,10.2813,90.6750,64,1); // Naczepa5
  AddStaticVehicle(514,1425.0377,1044.9528,10.5474,86.6083,64,1); // Truck3
  AddStaticVehicle(514,1424.0583,1051.8806,10.5429,91.3206,64,1); // Truck4
  AddStaticVehicle(514,1422.1481,1059.5924,10.5400,87.6204,64,1); // Truck5
  AddStaticVehicle(440,1398.8359,976.7652,10.5474,4.9121,64,1); // Rumpo1
  AddStaticVehicle(440,1389.6947,974.3378,10.5475,355.0488,64,1); // Rumpo2
	return 1;
}
Reply
#6

How much cars you have ?
Reply
#7

Not sure, too much to count :] About 600 or 700...
Reply
#8

Limits in SA-MP - if you go over a limit you need to use a streamer
Reply
#9

How do I use a streamer and where do I get it?
Reply
#10

Please answer for my problem if possible
Reply
#11

just SEARCH, the best what you can type in is "Vehicle Streamer"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)