a guest Jan 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- AddEventHandle('showCardMenu', function()
- local player, distance = ESX.Game.GetClosestPlayer()
- if distance ~= -1 and distance <= 3.0 then
- TriggerServerEvent('jsfour-idcard:open', GetPlayerServerId(PlayerId()), GetPlayerServerId(player))
- ESX.ShowNotification('No players nearby')
RAW Paste Data