SA-MP Forums Archive
Vehicle Problem - 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: Vehicle Problem (/showthread.php?tid=85663)



Vehicle Problem - Anwix - 08.07.2009

1.
If someone /lock 's there cars doors, i want people to be able to enter as a passenger, but not the driver.
I have created a /lock command, but no one can enter as a passenger, is it possible todo this without /unlock ing the car doors.

2.
I want so if the player /lock 's another vehicle, the vehicle he locked before, becomes unlocked.
Anyone assit me on this.?


Re: Vehicle Problem - Gamer_Z - 15.07.2009

u can make something that if the player presses G it unlocks the nearest vehicle for a few seconds and then locks....


Re: Vehicle Problem - James_Alex - 15.07.2009

i think when the player enter vehicle
check he seat id
if it is 0 remove him from the vehicles