Open 0x01422 opened 4 years ago
SCRIPT ERROR: @esx_doorlock/client/main.lua:85: attempt to compare number with nil
Here is line 85-86: if v.distanceToPlayer and v.distanceToPlayer < v.maxDistance then local size, displayText = 1, _U('unlocked')
add distance in config.lua worked for me
So maxDistance = 2.5, or so distance = 2.5,
SCRIPT ERROR: @esx_doorlock/client/main.lua:85: attempt to compare number with nil
Here is line 85-86: if v.distanceToPlayer and v.distanceToPlayer < v.maxDistance then local size, displayText = 1, _U('unlocked')