Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Vehicle LOCK/UNLOCK — Commands

$
0
0
Hello community, this is my first script. These are two commands, one to close the door of your vehicle from inside while being a driver and another to open it from the outside.
This script is very simple but useful. The code to check if the player is near the vehicle was taken from an external script.

◘ Image 1 (/lock) — https://i.imgur.com/IT4oxGc.png
◘ Image 2 (/lock) — https://i.imgur.com/abBAjIB.png
-- You aren't close to any vehicle --
◘ Image 3 (/unlock) — https://i.imgur.com/NSHFcvp.png
◘ Image 4 (/unlock) — https://i.imgur.com/AkFH49q.png
◘ Image 5 (/unlock) — https://i.imgur.com/S2dNecJ.png


Pastebin — ( https://pastebin.com/3czbqcdy )
Github
◘ You will need: <zcmd>

Obviously this is a loose code, you must place this code inside your gamemode or inside your chat script.
I hope you find it useful.

PS: Sorry for my English, it's not my natural language.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>