Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

HM ID Gun - Configuration

In config.lua you can tailor the behaviour of HM ID Gun exactly to your needs.

OptionTypeDefaultDescription
Config.AllowAllbooleanfalseIf true, every player on the server can use the command (recommended for test servers only).
Config.CommandNamestring"idgun"Change the command used to enable/disable it here.
Config.AcePermissionstring"command.idgun"The direct ACE permission.
Config.AllowedGroupstable{"group.admin"}A list of FiveM principal groups that automatically have access to the command.
Config.DisableShootingWhileActivebooleantrueIf true, shooting is blocked while the ID gun is active.
Config.CopyOnShootbooleantrueIf true, a shot/click on an entity writes the info to the F8 console and clipboard.
Config.CopyCooldownMsnumber500Cooldown in milliseconds between two copy actions.
Config.ExportVector4booleantrueIf true, vector4(...) is output as well.
Config.ExportVector3booleantrueIf true, vector3(...) is output as well.
Config = {}
Config.AllowAll = false
Config.CommandName = "idgun"
Config.AcePermission = "command.idgun"
Config.AllowedGroups = {
"group.admin",
"group.superadmin"
}
Config.DisableShootingWhileActive = true
Config.CopyOnShoot = true
Config.CopyCooldownMs = 500
Config.ExportVector4 = true
Config.ExportVector3 = true