forked from Simnation/Main
ed
This commit is contained in:
parent
884f3df7cf
commit
a918d137e5
2 changed files with 0 additions and 25 deletions
|
@ -5,15 +5,6 @@ AddEventHandler("eff_smokes", function(entity)
|
|||
TriggerClientEvent("c_eff_smokes", -1, entity)
|
||||
end)
|
||||
|
||||
QBCore.Functions.CreateUseableItem('shisha', function(source, item)
|
||||
local Player = QBCore.Functions.GetPlayer(source)
|
||||
|
||||
if Player.Functions.RemoveItem(item.name, 1, item.slot) then
|
||||
TriggerClientEvent('QBCore:Notify', source, 'Die Shisha wurde aufgebaut.', 'success')
|
||||
TriggerClientEvent("chema_shisha:spawn", -1, entity)
|
||||
end
|
||||
end)
|
||||
|
||||
QBCore.Commands.Add("deleteshisha", "Lösche deine Shisha und bekomme sie zurück ins Inventar", {}, false, function(source)
|
||||
local Player = QBCore.Functions.GetPlayer(source)
|
||||
|
||||
|
@ -33,4 +24,3 @@ QBCore.Commands.Add("deleteallshishas", "Delete all placed shishas on the server
|
|||
TriggerClientEvent('QBCore:Notify', source, 'You do not have permission to use this command', 'error')
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue