samp.directory
← Скрипты и библиотеки

ScavengeSurvive/inventory-dialog

An extension for ScavengeSurvive/inventory that uses SA:MP dialog menus for player interaction with their inventory items.

Библиотека★ 2обновлён авг. 2026 г.MITPawnsampctl
Открыть на GitHub

Установка через sampctl

sampctl package install ScavengeSurvive/inventory-dialog

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

README.md

Inventory Dialog

An extension for ScavengeSurvive/inventory that uses SA:MP dialog menus for player interaction with their inventory items.

Installation

Simply install to your project:

sampctl package install ScavengeSurvive/inventory-dialog

Include in your code and begin using the library:

#include <inventory-dialog>

Usage

Documentation is in the source code.

Testing

To run tests:

sampctl package run

And connect to localhost:7777 and try it out. H opens the inventory, Y adds an item, F picks up. /lockinv prevents the inventory from being opened by returning 1 on OnPlayerOpenInventory.

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

ScavengeSurvive/inventory-dialog: Библиотека для SA-MP | samp.directory