[Release][UNMAINTAINED] LockSystem 3.1 (Updated the 07/16/2018) [BETA]

Is this script no longer maintained? it does not work

Error parsing script server.lua in resource LockSystem: server.lua:9: ‘)’ expected near ‘function’ [ 1828] Failed to load script server.lua.

you’re missing a comma on line 9 @Jacobbb

What should i change in here?

you need a comma on line 9 after “ls:check”
between that and function

Thanks alot dude (:blush:

no problem
but I need 20 characters :slight_smile:

Dude i found a new problem we are geting that every time: Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:39: attempt to index a nil value (field ‘?’)
[ 3156] stack traceback:
[ 3156] server/main.lua:39: in upvalue ‘handler’
[ 3156] citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:173
[ 3156] stack traceback:
[ 3156] [C]: in function ‘error’
[ 3156] citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
[ 3156] citizen:/scripting/lua/scheduler.lua:173: in function citizen:/scripting/lua/scheduler.lua:138
[ 3187] hitch warning: frame time of 437 milliseconds

1 Like

NPC cars are locked, how would I disable this, any specific line of code?

Microsoft Windows [Version 6.3.9600]
© 2013 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>cd C:\FXServer

C:\FXServer>run.cmd +exec server.cfg
Initializing Mono
Initializing Mono completed
Hello!
Found new resource dRdoors in C:/FXServer/resources//dRdoors
Found new resource fivem in C:/FXServer/resources//fivem
Found new resource fivem-awesome1501 in C:/FXServer/resources//fivem-awesome1501

Found new resource fivem-map-hipster in C:/FXServer/resources//fivem-map-hipster

Found new resource fivem-map-skater in C:/FXServer/resources//fivem-map-skater
Found new resource InteractSound in C:/FXServer/resources//InteractSound
Found new resource LockSystem in C:/FXServer/resources//LockSystem
Found new resource runcode in C:/FXServer/resources//runcode
Found new resource race in C:/FXServer/resources//[gamemodes]/race
Found new resource race-test in C:/FXServer/resources//[gamemodes]/race-test
Found new resource channelfeed in C:/FXServer/resources//[gameplay]/channelfeed
Found new resource irc in C:/FXServer/resources//[gameplay]/irc
Found new resource obituary in C:/FXServer/resources//[gameplay]/obituary
Found new resource obituary-deaths in C:/FXServer/resources//[gameplay]/obituary
-deaths
Found new resource playernames in C:/FXServer/resources//[gameplay]/playernames
Found new resource mapmanager in C:/FXServer/resources//[managers]/mapmanager
Found new resource baseevents in C:/FXServer/resources//[system]/baseevents
Found new resource chat in C:/FXServer/resources//[system]/chat
Found new resource hardcap in C:/FXServer/resources//[system]/hardcap
Found new resource ■■■■■■■ in C:/FXServer/resources//[system]/■■■■■■■
Found new resource scoreboard in C:/FXServer/resources//[system]/scoreboard
Found new resource sessionmanager in C:/FXServer/resources//[system]/sessionmana
ger
Found new resource spawnmanager in C:/FXServer/resources//[system]/spawnmanager
Found new resource betaguns in C:/FXServer/resources//[test]/betaguns
Found new resource gameInit in C:/FXServer/resources//[test]/gameInit
Found new resource keks in C:/FXServer/resources//[test]/keks
Started resource sessionmanager
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started resource fivem
Started gametype Freeroam
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource playernames
Started resource InteractSound
Error parsing script server.lua in resource LockSystem: server.lua:9: ‘)’ expect
ed near ‘function’
Failed to load script server.lua.
Started resource LockSystem
Authenticating server license key…
Server license key authentication succeeded. Welcome!
cfx> Resolved live-internal.fivem.net:30110 to 151.80.44.223:30110
Sending heartbeat to live-internal.fivem.net:30110
Started resource fivem-map-skater
Started map fivem-map-skater

Please edit your post to only have this in it… No need to post your entire log (and not in preformatted text)…

Hey, I need help with the lock system. Once I’ve added it and everything like that and will test it on the server, it does not work. How can I do so it works. Please help :slight_smile:

Does anyone know how to make it a further distance you can Lock/Unlock it, Right now you have to be right against the vehicle.

has it been updated yet to allow you to give key to someone else?

no i been waiting for this to get updated with keys and with color chat messages and were you can lockpick it to

Hi guys,
I have a problem, when I lock my car and try unlock after some time, I cant … said “Vehicule locked.” How can I fix that? (version 2.1)

cfx> Error parsing script server.lua in resource LockSystem: server.lua:9: ‘)’ expected near ‘function’
Failed to load script server.lua. thats what im getting

Hi just add a comma after “ls: lock”

Guys script is working perfectly but there is bug in scrip, cars are magically desipiring without reason and also when someone put spikestrips car desipires also. Like i park car in front of shop and i come back and car desipires. If anyone know the problem please help

Little discussion about cars randoming disappearing here :confused: Player Vehicles Randomly Despawning

If you are able to provide any reproducible steps, it would help in solving this.

2 Likes