SA-MP Forums Archive
Lock a vehicle when it spawns? - 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: Lock a vehicle when it spawns? (/showthread.php?tid=402232)



Lock a vehicle when it spawns? - Arnoo - 25.12.2012

How can I lock a vehicle whenever it spawns?
I know the vehicle parrameter things but I cant fingere out how I can get the Vehicle Id.
Help would be nice.

Arno.


Re : Lock a vehicle when it spawns? - [HRD]Mar1 - 25.12.2012

https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer!
xD


Re: Lock a vehicle when it spawns? - Arnoo - 25.12.2012

I told you I know about hte Params and shit
I need to know how it can be locked when I didnt went inside the vehicle.


Re : Lock a vehicle when it spawns? - [HRD]Mar1 - 25.12.2012

Scroll down


Re: Lock a vehicle when it spawns? - Arnoo - 25.12.2012

Ill give it a try , will +rep if it works.


Re: Lock a vehicle when it spawns? - Blaeks - 25.12.2012

do something like this
Код:
foreach(Player, i)
						{
								SetVehicleParamsForPlayer(keycar,i,0,1);
							}