Update heroin.lua
This commit is contained in:
1 parent
b9b3899e65
commit
c0a0e4271e
1 file changed
+1
@@ -135,6 +135,7 @@ RegisterNetEvent("md-drugs:client:setheroinlabkit")
|
|||||||
AddEventHandler("md-drugs:client:setheroinlabkit", function()
|
AddEventHandler("md-drugs:client:setheroinlabkit", function()
|
||||||
if herointable then
|
if herointable then
|
||||||
Notify(Lang.Heroin.tableout, 'error')
|
Notify(Lang.Heroin.tableout, 'error')
|
||||||
|
TriggerServerEvent('md-drugs:server:getheroinlabkitback')
|
||||||
else
|
else
|
||||||
local PedCoords = GetEntityCoords(PlayerPedId())
|
local PedCoords = GetEntityCoords(PlayerPedId())
|
||||||
if not progressbar(Lang.Heroin.table, 4000, 'uncuff') then TriggerServerEvent('md-drugs:server:getheroinlabkitback') return end
|
if not progressbar(Lang.Heroin.table, 4000, 'uncuff') then TriggerServerEvent('md-drugs:server:getheroinlabkitback') return end
|
||||||
|
|||||||
Reference in new issue
Block a user