SA-MP Forums Archive
Locking Cars (for companies) - 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: Locking Cars (for companies) (/showthread.php?tid=303861)



Locking Cars (for companies) - Dylan_Madigan69 - 15.12.2011

Im trying to make a script for a towing company, and everyone has a rank... 0 is not a member, 1 is recruit, 2 is sr. member and what not.

Now can i make it where our cars spawn locked, only members have keys, and we can lock/unlock it to everyone (except for us ofcorse, assuming we all had "keys"?


Re: Locking Cars (for companies) - kizla - 15.12.2011

yes, it is possible to make that


Re: Locking Cars (for companies) - adios1 - 16.12.2011

Yup, It is possible


Re: Locking Cars (for companies) - Dylan_Madigan69 - 09.02.2012

im wondering how


Re: Locking Cars (for companies) - sleepysnowflake - 09.02.2012

Well, variables? Pvar for mechanics. When a player tries to enter a car, check it if has that 'Mechanic key pvar/var' and if it does not, then it can't enter it. If it has, then it can enter it.


Re: Locking Cars (for companies) - milanosie - 09.02.2012

Or use vehicleparams, just like u would do for engine or lights