SA-MP Forums Archive
OnPlayerEnter Lock - 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: OnPlayerEnter Lock (/showthread.php?tid=339349)



OnPlayerEnter Lock - Admigo - 03.05.2012

Heey all,

How to make a lock system with a variable?
Like if player enters vehicle the players gets ejected out of vehicle so not using params.

Thanks Admigo


Re: OnPlayerEnter Lock - $$inSane - 03.05.2012

let me give u some help but first tell me do u need smething like this:
Like when a player do /lock and get out of the car. the then rEmains loaked.


Re: OnPlayerEnter Lock - Admigo - 03.05.2012

I already made a command if player leaves his car and do /lock his last car will be lock but it will be locked with params. I want to lock it with variable so if player enters vehicle he will removed from it.


Re: OnPlayerEnter Lock - MadeMan - 03.05.2012

https://sampwiki.blast.hk/wiki/OnPlayerStateChange

https://sampwiki.blast.hk/wiki/RemovePlayerFromVehicle


Re: OnPlayerEnter Lock - Admigo - 03.05.2012

I know that,only i need to know how to make a vehicle variable for it.