Changelog: Version 2.3
Thanks to Baelroak#3118 for feedback and ideas.
-
Option to stick all vehicles locked by default or not (look booleans on config file ‘lockedByDefault’ )
1.1) Parked, NPC Driven, Freshly Spawned(non cached) will be locked by default. spawned (cached) which was last time unlocked, still unlocked. -
Some fixes on notify types (qb users was facing issues)
2.1) 2 new translations (locales, two last lines) -
Cannot lockpick a vehicle while there’s a alive ped on driver’s seat (Player or AI)
-
Added a new client side export (hasKeys)
4.1) You can now check your self (your other script client side if a player got keys for specific plate)
exports['nyam_vehiclekeys']:hasKeys(plate, function(hasKeys)
if hasKeys then
-- kekw got keys
else
-- kekw deosn't have keys
end
end)