mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Update commands.lua
ESSENTIAL 5.0 COMPATIBILITY
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ end, function (source, args, user)
|
||||
end, { help = _U('help_whitelist_load') })
|
||||
|
||||
TriggerEvent('es:addGroupCommand', 'whitelist:add', 'admin', function (source, args, user)
|
||||
local steamID = 'steam:' .. args[2]
|
||||
local steamID = 'steam:' .. args[1]
|
||||
|
||||
MySQL.Async.execute(
|
||||
'INSERT INTO whitelist (identifier) VALUES (@identifier)',
|
||||
|
||||
Reference in New Issue
Block a user