ScavengeSurvive/inventory-dialog
An extension for ScavengeSurvive/inventory that uses SA:MP dialog menus for player interaction with their inventory items.
Install with sampctl
sampctl package install ScavengeSurvive/inventory-dialog
Run this in your project folder. sampctl downloads the package and what it depends on.
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 6 packages
- sampctl/samp-stdlibnot in this directory
- pawn-lang/YSI-Includes★ 227
- ScavengeSurvive/inventory★ 7
- ScavengeSurvive/container-dialog★ 1
- ScavengeSurvive/item★ 7
- ScavengeSurvive/tick-difference★ 0
Used by 5 packages
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.
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing