diff --git a/ext/system-resources/resources/chat/sv_chat.lua b/ext/system-resources/resources/chat/sv_chat.lua index aa16c34455..45b53fcce1 100644 --- a/ext/system-resources/resources/chat/sv_chat.lua +++ b/ext/system-resources/resources/chat/sv_chat.lua @@ -212,12 +212,10 @@ AddEventHandler('_chat:messageEntered', function(author, color, message, mode) end) AddEventHandler('__cfx_internal:commandFallback', function(command) - local name = GetPlayerName(source) - - -- route the message as if it were a /command - routeMessage(source, name, '/' .. command, nil, true) - CancelEvent() + -- local name = GetPlayerName(source) + -- route the message as if it were a /command + -- routeMessage(source, name, '/' .. command, nil, true)-- do not send message if command doesnt exist end) -- player join messages