Skip to content

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

License

Notifications You must be signed in to change notification settings

ScavengeSurvive/inventory-dialog

Repository files navigation

Inventory Dialog

sampctl

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages