Update commands.lua

This commit is contained in:
Andyyy7666
2021-12-27 17:07:29 +01:00
committed by GitHub
parent 2c70802418
commit dc38c8f0b2

View File

@@ -31,7 +31,8 @@ if config.enableAopCommand then
aop = "Current AOP: " .. aop aop = "Current AOP: " .. aop
}) })
TriggerEvent("chat:addMessage", { TriggerEvent("chat:addMessage", {
args = {"~b~Aop has been changed to: " .. aop} color = {0, 150, 250},
args = {"Aop has been changed to", aop}
}) })
end) end)
RegisterNetEvent("returnAop") RegisterNetEvent("returnAop")
@@ -41,7 +42,8 @@ if config.enableAopCommand then
aop = "Current AOP: " .. aop aop = "Current AOP: " .. aop
}) })
TriggerEvent("chat:addMessage", { TriggerEvent("chat:addMessage", {
args = {"~b~The current AOP is: " .. aop} color = {0, 150, 250},
args = {"The current AOP is", aop}
}) })
end) end)
end end