Gamemode★ 1actualizado ago 2026Sin licenciaPawn
Abrir en GitHubEste repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.
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 se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha