mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Fixed /setgroup command
This commit is contained in:
@@ -73,6 +73,7 @@ git clone https://github.com/ESX-Org/esx_menu_list [esx]/[ui]/esx_menu_list
|
||||
add_principal group.admin group.user
|
||||
add_ace resource.es_extended command.add_ace allow
|
||||
add_ace resource.es_extended command.add_principal allow
|
||||
add_ace resource.es_extended command.remove_principal allow
|
||||
|
||||
start mysql-async
|
||||
start es_extended
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ end, true, {help = _U('command_clearloadout'), validate = true, arguments = {
|
||||
}})
|
||||
|
||||
ESX.RegisterCommand('setgroup', 'admin', function(xPlayer, args, showError)
|
||||
args.playerId.setGorup(args.group)
|
||||
args.playerId.setGroup(args.group)
|
||||
end, true, {help = _U('command_setgroup'), validate = true, arguments = {
|
||||
{name = 'playerId', help = _U('commandgeneric_playerid'), type = 'player'},
|
||||
{name = 'group', help = _U('command_setgroup_group'), type = 'string'},
|
||||
|
||||
Reference in New Issue
Block a user