mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
the f** its still there?
This commit is contained in:
@@ -72,11 +72,6 @@ AddEventHandler('esx_drugs:outofbound', function()
|
|||||||
outofbound = true
|
outofbound = true
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterServerEvent('esx_drugs:quitprocess')
|
|
||||||
AddEventHandler('esx_drugs:quitprocess', function()
|
|
||||||
can = false
|
|
||||||
end)
|
|
||||||
|
|
||||||
ESX.RegisterServerCallback('esx_drugs:cannabis_count', function(source, cb)
|
ESX.RegisterServerCallback('esx_drugs:cannabis_count', function(source, cb)
|
||||||
local xPlayer = ESX.GetPlayerFromId(source)
|
local xPlayer = ESX.GetPlayerFromId(source)
|
||||||
local xCannabis = xPlayer.getInventoryItem('cannabis').count
|
local xCannabis = xPlayer.getInventoryItem('cannabis').count
|
||||||
|
|||||||
Reference in New Issue
Block a user