SA-MP Forums Archive
AddStaticVehicle.Same vehicles but other id. - 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)
+--- Thread: AddStaticVehicle.Same vehicles but other id. (/showthread.php?tid=539572)



AddStaticVehicle.Same vehicles but other id. - GabiXx - 28.09.2014

Hi.I want to know how to addstaticvehicle ,but same cars.
Like 5 infernus.How i obtain id?On car's id on wiki exista just 1 id for each car.
Please help.


Re: AddStaticVehicle.Same vehicles but other id. - Bingo - 28.09.2014

You can add 10 as well, There are two id's.

Vehicle Model ID mean's model id of the vehicle every vehicle have it's own ID.
Eg:- Infernus 411, Rhino 432.

And Normally ID is assigned by server, Number of car's.

Do like this (Example):-

pawn Код:
AddStaticVehicle(411, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
AddStaticVehicle(411, 2989.1763, 8903.0453, 32.2887, 82.2873, 0, 1);
AddStaticVehicle(411, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
Don't copy paste as it's just an example.