mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 16:01:36 +00:00
Fixed commands not registering
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ ESX.RegisterCommand('wladd', 'admin', function(xPlayer, args, showError)
|
||||
end)
|
||||
end
|
||||
else
|
||||
showError('Invalid steam ID length!')
|
||||
showError('Invalid license ID length!')
|
||||
end
|
||||
end, true, {help = _U('help_whitelist_add'), validate = true, arguments = {
|
||||
{name = 'license', help = 'the player license', type = 'string'}
|
||||
|
||||
+3
-1
@@ -1,4 +1,6 @@
|
||||
WhiteList = {}
|
||||
ESX, WhiteList = nil, {}
|
||||
|
||||
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
|
||||
|
||||
function loadWhiteList(cb)
|
||||
Whitelist = {}
|
||||
|
||||
Reference in New Issue
Block a user