curatenie si fix target
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
local targetSystem
|
||||
|
||||
if Config.Framework == "QBCore" then
|
||||
if GetResourceState("ox_target") ~= "missing" then
|
||||
targetSystem = "ox_target"
|
||||
elseif GetResourceState("qb-target") ~= "missing" then
|
||||
targetSystem = "qb-target"
|
||||
else
|
||||
targetSystem = "qtarget"
|
||||
end
|
||||
|
||||
if GetResourceState("ox_target") ~= "missing" then
|
||||
targetSystem = "qtarget" -- OX_Target have a backward compability to qtarget
|
||||
end
|
||||
|
||||
function SpawnStartingPed()
|
||||
local model = `a_m_m_indian_01`
|
||||
RequestModel(model)
|
||||
|
||||
Reference in New Issue
Block a user