Yeah, is there any way to increase the sensitivity/radius of the key? I have to stand exactly at the right place for this script in order to lock the door.
Just use the event TriggerServerEvent("aCarLock:AddKey", playersServerId , vehiclePlate) or TriggerEvent("aCarLock:AddKey", playersServerId , vehiclePlate) on a server sided script
Thank you for this script.
When adding server convars which is the right way in this case, i mean the format.
Something like this?
set temp_convar “aCarLock_ToggleLock”
How do you “register” a vehicle so you can lock/unlock it? When I press capslock, nothing happens and the vehicle doesn’t get locked. I tried adding a print message just to make sure it registered the keypress and it did, just doesn’t interact with the vehicle at all.