mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
Fixed AOP Export Issues
This commit is contained in:
@@ -73,9 +73,11 @@ function SetDisplay(bool, typeName, bg, characters)
|
|||||||
})
|
})
|
||||||
Wait(500)
|
Wait(500)
|
||||||
if config.characterSelectionAopDisplay then
|
if config.characterSelectionAopDisplay then
|
||||||
|
local AreaOfPlay = exports[config.aopResourceName]:getAOP()
|
||||||
|
--print(AreaOfPlay)
|
||||||
SendNUIMessage({
|
SendNUIMessage({
|
||||||
type = "aop",
|
type = "aop",
|
||||||
aop = exports[config.aop]:getAOP()
|
aop = AreaOfPlay
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -93,9 +95,10 @@ function start(switch)
|
|||||||
SetEntityVisible(ped, false, 0)
|
SetEntityVisible(ped, false, 0)
|
||||||
end
|
end
|
||||||
if config.characterSelectionAopDisplay then
|
if config.characterSelectionAopDisplay then
|
||||||
|
local AreaOfPlay = exports[config.aopResourceName]:getAOP()
|
||||||
SendNUIMessage({
|
SendNUIMessage({
|
||||||
type = "aop",
|
type = "aop",
|
||||||
aop = config.aop()
|
aop = AreaOfPlay
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user