mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
Update commands.lua
Small changes
This commit is contained in:
@@ -16,7 +16,7 @@ if config.enableAopCommand then
|
|||||||
TriggerServerEvent("getAop")
|
TriggerServerEvent("getAop")
|
||||||
end, false)
|
end, false)
|
||||||
RegisterCommand(config.aopCommand, function(source, args, raw)
|
RegisterCommand(config.aopCommand, function(source, args, raw)
|
||||||
if admin == true then
|
if admin then
|
||||||
TriggerServerEvent("registerAop", string.gsub(raw, config.aopCommand .. " ", ""))
|
TriggerServerEvent("registerAop", string.gsub(raw, config.aopCommand .. " ", ""))
|
||||||
else
|
else
|
||||||
TriggerEvent("chat:addMessage", {
|
TriggerEvent("chat:addMessage", {
|
||||||
@@ -106,4 +106,4 @@ TriggerEvent("chat:addSuggestion", "/twt", "Send a Twotter in game. (Global Chat
|
|||||||
TriggerEvent("chat:addSuggestion", "/ooc", "Out Of Character chat Message. (Global Chat)", {{ name="Message", help="Put your questions or help request."}})
|
TriggerEvent("chat:addSuggestion", "/ooc", "Out Of Character chat Message. (Global Chat)", {{ name="Message", help="Put your questions or help request."}})
|
||||||
TriggerEvent("chat:addSuggestion", "/darkweb", "Send a anonymous message in game. (Global Chat)", {{ name="Message", help="Anonymous Message."}})
|
TriggerEvent("chat:addSuggestion", "/darkweb", "Send a anonymous message in game. (Global Chat)", {{ name="Message", help="Anonymous Message."}})
|
||||||
TriggerEvent("chat:addSuggestion", "/me", "Send message in the third person. (Proximity Chat)", {{ name="Action", help="action."}})
|
TriggerEvent("chat:addSuggestion", "/me", "Send message in the third person. (Proximity Chat)", {{ name="Action", help="action."}})
|
||||||
TriggerEvent("chat:addSuggestion", "/help", "", {})
|
TriggerEvent("chat:addSuggestion", "/help", "", {})
|
||||||
|
|||||||
Reference in New Issue
Block a user