[Help] Hello, i have a question


#1

I just want to add “revive” command to user group “mod”. I add into es_extended/server/commands this one:

TriggerEvent('es:addGroupCommand', 'revive', 'mod', function(source, args, user)
  print('revive by /revive')
  end, function(source, args, user)
  TriggerClientEvent('chatMessage', source, "SYSTEM", {255, 0, 0}, "Insufficient Permissions.")
end, {help = _U('revive_help'), params = {{name = 'id'}}})

But who has “mod” group have notification “Insufficient Permissions”
so why?