Added missing ESX usage

This commit is contained in:
ElPumpo
2020-01-15 10:58:08 +01:00
parent b587a25c92
commit 47a36bb9c7
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
Config = {}
Config.Locale = 'fr'
Config.Locale = 'sv'
Config.OnlyFirstname = false
Config.EnableESXIdentity = false -- only turn this on if you are using esx_identity and want to use RP names
Config.EnableESXIdentity = true -- only turn this on if you are using esx_identity and want to use RP names
+4
View File
@@ -1,3 +1,7 @@
ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
AddEventHandler('es:invalidCommandHandler', function(source, command_args, user)
CancelEvent()
TriggerClientEvent('chat:addMessage', source, {args = {'^1SYSTEM', _U('unknown_command', command_args[1])}})