mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
Update commands.lua
Small changes
This commit is contained in:
@@ -16,7 +16,7 @@ if config.enableAopCommand then
|
||||
TriggerServerEvent("getAop")
|
||||
end, false)
|
||||
RegisterCommand(config.aopCommand, function(source, args, raw)
|
||||
if admin == true then
|
||||
if admin then
|
||||
TriggerServerEvent("registerAop", string.gsub(raw, config.aopCommand .. " ", ""))
|
||||
else
|
||||
TriggerEvent("chat:addMessage", {
|
||||
|
||||
Reference in New Issue
Block a user