Vehicle 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: Vehicle ID (
/showthread.php?tid=318249)
Vehicle ID -
SpankMe2 - 14.02.2012
How can I keep Vehicle ID's the same in a dynamic system.
If you need my code feel free to ask.
Re: Vehicle ID -
Universal - 14.02.2012
You mean like putting the vehicle id into the array? If so, then heres an example:
pawn Код:
new
vehicleid = CreateVehicle(560, 10.0, 20.0, 30.0, 40.0, 0, 0, 0);
Array[vehicleid][vModel] = 560;
Is that what you asked?