update: keyfob anim

This commit is contained in:
Andyyy7666
2023-07-22 21:42:45 +02:00
parent 5fd51f5329
commit 98433908e9
2 changed files with 14 additions and 4 deletions

View File

@@ -244,6 +244,7 @@ if Config.useInventoryForKeys then
local state = Entity(veh).state
local locked = not state.locked
state.locked = locked
player.triggerEvent("ND_Vehicles:keyFob", NetworkGetNetworkIdFromEntity(veh))
if locked then
player.notify({
title = "LOCKED",