Animation : [RELEASE] Animation Doorlock Car
LockSystem : [Release] LockSystem 3.1 (Updated the 07/16/2018) [BETA]
function Notify(text, duration)
if(Config.notification)then
if(Config.notification == 1)then
if(not duration)then
duration = 0.080
end
SetNotificationTextEntry(“STRING”)
AddTextComponentString(text)
Citizen.InvokeNative(0x1E6611149DB3DB6B, “CHAR_CARSITE”, “CHAR_CARSITE”, true, 1, “System Zamków”, “”, duration)
DrawNotification_4(false, true)
local lib = 'anim@mp_player_intmenu@key_fob@'
local anim = 'fob_click'
ESX.Streaming.RequestAnimDict(lib, function()
TaskPlayAnim(PlayerPedId(), lib, anim, 8.0, -8.0, 1500, 48, 0, false, false, false)
end)
elseif(Config.notification == 2)then
TriggerEvent('chatMessage', '^1LockSystem V' .. _VERSION, {255, 255, 255}, text)
else
return
end
else
return
end
end