mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Fixed unknown command locale
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
AddEventHandler('es:invalidCommandHandler', function(source, command_args, user)
|
||||
CancelEvent()
|
||||
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', _U('ooc_unknown_command', command_args[1]) } })
|
||||
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', _U('unknown_command', command_args[1]) } })
|
||||
end)
|
||||
|
||||
AddEventHandler('chatMessage', function(source, name, message)
|
||||
|
||||
Reference in New Issue
Block a user