Locking the car doors for non-cops - 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: Locking the car doors for non-cops (
/showthread.php?tid=89654)
Locking the car doors for non-cops -
SiJ - 03.08.2009
Hey,
Cops are gTeam 2 at my script.. How could I make so non-cops woudn't be able to open car doors, and cops could open them?
Cause now non-cops can enter vehicle and after they enter they got ejected from it, it's not very "RP"...
Re: Locking the car doors for non-cops -
Mr_Finnigan - 03.08.2009
http://forum.sa-mp.com/index.php?top...3982#msg673982
Here is someone basically asking the same and they seem to get it solved so maybe it can help you.
Re: Locking the car doors for non-cops -
SiJ - 03.08.2009
I was thinking about SetVehicleParamsForPlayer but that will be good I think...
Or maybe it's possible using animations? If you try entering cops vehicle you would see animation like when vehicle is locked..
Is that possible..?