removed core export: fixed bugs
This commit is contained in:
1 parent
a07118d0cb
commit
3043ecd924
24 files changed
+39
-41
No files matched your search
+1
-2
@@ -1,10 +1,9 @@
|
||||
local QBCore = exports['qb-core']:GetCoreObject()
|
||||
local WeedPlant = {}
|
||||
local exploded, drying = false, false
|
||||
|
||||
local function hasJob()
|
||||
if Config.Joblock then
|
||||
if QBCore.Functions.GetPlayerData().job.name == Config.weedjob then
|
||||
if getJobName() == Config.weedjob then
|
||||
return true else return false end
|
||||
else
|
||||
return true end
|
||||
|
||||
Reference in new issue
Block a user