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