Gamemode★ 1atualizado ago. de 2026Sem licençaPawn
Abrir no GitHubEste repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.
Readme.md
Inventory System (open.mp)
Credits: Habibi / Janzzzz
Reusable textdraw inventory (qawno/include/inventory.inc).
LEFT = your bag RIGHT = drops / loot / house / trunk
Start here
| I want… | Open this |
|---|---|
| Add an item so it shows on the panel | docs/INVENTORY_ADD_ITEMS.md |
| Add / store weapons on the panel | docs/INVENTORY_WEAPONS.md |
| Easy examples (drops, loot, house) | docs/INVENTORY_EXAMPLES.md |
| Offline full guide (API, guns, config) | docs/INVENTORY_OFFLINE.md |
| Online MySQL save | docs/INVENTORY_ONLINE.md |
| Offline vs online | docs/INVENTORY.md |
Try the demo (1 minute)
compile_inventory.bat
config.json: "main_scripts": ["inventory_test 1"]
| Command | Right panel |
|---|---|
/inv | Nearby drops |
/loot [id] | Other player |
/houseinv | Demo house storage |
Drop / move a stack (qty > 1) → Transfer amount dialog. Guns move as one unit (ammo). See docs/INVENTORY_OFFLINE.md.
config.json should include "legacy_plugins": ["textdraw-streamer"].
Files
| Path | Purpose |
|---|---|
| qawno/include/inventory.inc | Inventory + UI |
| qawno/include/inventory_defs.inc | Defines + forwards |
| gamemodes/inventory_test.pwn | Offline demo |
| gamemodes/inventory_test_online.pwn | MySQL demo |
| docs/INVENTORY_ADD_ITEMS.md | Starter: add items |
| docs/INVENTORY_WEAPONS.md | Starter: weapons |
| docs/INVENTORY_EXAMPLES.md | Easy examples |
| docs/INVENTORY_OFFLINE.md | Offline docs |
| docs/INVENTORY_ONLINE.md | Online docs |
| compile_inventory.bat | Compile offline |
| compile_inventory_online.bat | Compile online |
Fast compile (MySQL)
compile_inventory_online.bat
"legacy_plugins": ["mysql"]- Edit
MYSQL_*ininventory_test_online.pwn "main_scripts": ["inventory_test_online 1"]
Guide: docs/INVENTORY_ONLINE.md
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página