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:
@@ -75,7 +75,7 @@ function SetDisplay(bool, typeName, bg, characters)
|
|||||||
if config.characterSelectionAopDisplay then
|
if config.characterSelectionAopDisplay then
|
||||||
SendNUIMessage({
|
SendNUIMessage({
|
||||||
type = "aop",
|
type = "aop",
|
||||||
aop = config.aop()
|
aop = exports[config.aop]:getAOP()
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -239,4 +239,4 @@ RegisterCommand(config.changeCharacterCommand, function()
|
|||||||
end, false)
|
end, false)
|
||||||
|
|
||||||
-- chat suggestions
|
-- chat suggestions
|
||||||
TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch your framework character.")
|
TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch your framework character.")
|
||||||
|
|||||||
Reference in New Issue
Block a user