Update cocaine.lua
This commit is contained in:
1 parent
1e06afa926
commit
3549e4afaa
1 file changed
-1
@@ -30,7 +30,6 @@ AddEventHandler("coke:pickupCane", function(loc)
|
|||||||
CaneCooldown(loc)
|
CaneCooldown(loc)
|
||||||
local Player = QBCore.Functions.GetPlayer(source)
|
local Player = QBCore.Functions.GetPlayer(source)
|
||||||
AddItem('coca_leaf', 1)
|
AddItem('coca_leaf', 1)
|
||||||
TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items['coca_leaf'], "add")
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user