Fixed AOP Export issues

This commit is contained in:
HakkoDevelopment
2022-08-11 19:04:57 -06:00
committed by GitHub
parent da1ce4af37
commit e3904a3db2

View File

@@ -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.")