Do you have the exports? I would like to put it on my car menu

First car lock script that worked to me, thanks a lot mate!

1 Like

is it possible to set another sound

How to change the lock distance

why does the car unlock and then lock right back or it locks and unlocks again

Who needs the esx legacy version
LERP-CarLock.rar (4.3 KB)

2 Likes

works amazing! wish i was able to give keys to other players tho :smiley:

1 Like

this is the same as the orginal post no different for esx legacy

Doesn’t need a Legacy Update, just needs the deprecation rewritten (tutorial is here)

can you help me get this to work for my server, will compensate your time

Can you tell me what code to remove to use just the esx notify and delete ox lib, also how to remove the car horn so it just unlocks the car?

LERP-CarLock.rar (4.2 KB)

I have Edited and Removed the broken Code. It now works as it should

How can you turn off the horn to where its just the lights flashing and door lock/unlock sounds?

Let me check if you can.

LERP-CarLock.rar (4.2 KB)

You can mute the horn sound. In this version of the mod only the lights flash

It’s all configurable in the client/main.lua

wdym?

when i am starting the script its showing me this :


what i need to do??

I want to change the notifications to okoknotify please

**/client/main.lua:


**/server/main.lua:

1 Like