# Araç Bilgi Görüntüleme

- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Tool_Information_Display
- **Çeviri tarihi:** 2025-09-08

This page describes how to use **TOOL.Information**.

You can find source code for it [here](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/cl_init.lua#L100-L162).

Here's an example:

```lua
if CLIENT then

	TOOL.Information = {

		{ name = "info", stage = 1 },
		{ name = "left" },
		{ name = "right" },
		{ name = "right_use", icon2 = "gui/e.png" },
		{ name = "reload" },
		{ name = "reload_use", icon2 = "gui/e.png" },

	}

	language.Add( "tool.example.1", "See information in the context menu" )
	language.Add( "tool.example.left", "Select an object" )
	language.Add( "tool.example.right", "Select next mode" )
	language.Add( "tool.example.right_use", "Select previous mode" )
	language.Add( "tool.example.reload", "Select yourself" )
	language.Add( "tool.example.reload_use", "Select your view model" )

end
```

![hl2_5Yw8XBsSlc.png](https://gmod.tr/api/uploads/wiki/947bf33386d2b249a720.png)

For each table inside the `TOOL.Information` a new line of text is added to the Tools help HUD.

#### Key explanations

- `name` - Overrides the localization string to `#tool.<toolclassname>.<name>` (`<toolclassname>` is the filename of your tool)

  - Default value is `info`, which will display `tool.<toolclassname>.<toolstage>`, like all tools that do not use `TOOL.Information` do.
- `icon` - A path to the first icon
- `icon2` - A second icon path, for key combination icons
- `stage` - Makes the text only appear for given stage ( [Tool:SetStage](https://gmod.tr/wiki/Tool:SetStage) )
- `op` - Makes the text only appear for given operation ( [Tool:SetOperation](https://gmod.tr/wiki/Tool:SetOperation) )

#### Default icon fallbacks

Certain names have a default fallback icons:

- If your `name` ends on `use` and you do not override the `icon2`, `icon2` will be E key. ( `gui/e.png` )
- If your `name` starts with `info` - default icon is `gui/info`
- If your `name` starts with `left` - default icon is LMB icon ( `gui/lmb.png` )
- If your `name` starts with `right` - default icon is RMB icon ( `gui/rmb.png` )
- If your `name` starts with `reload` - default icon is R key icon ( `gui/r.png` )

> **NOT:** To change what the screen on the ToolGun model looks like - see [TOOL:DrawToolScreen](https://gmod.tr/wiki/TOOL:DrawToolScreen)

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Tool_Information_Display
