ScavengeSurvive/door
A simple object movement manager that supports buttons as the default method of interacting.
Install with sampctl
sampctl package install ScavengeSurvive/door
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 4 packages
- sampctl/samp-stdlibnot in this directory
- pawn-lang/YSI-Includes★ 227
- samp-incognito/samp-streamer-plugin★ 248
- ScavengeSurvive/button★ 5
Used by 2 packages
README.md
door
A simple object movement manager that supports buttons as the default method of interacting. Doors support multiple buttons, so a button on the inside and outside of a door is possible. Doors can be opened and closed manually by calling OpenDoor or CloseDoor. The door state change callbacks can be used to restrict the use of doors by returning 1.
Documentation is in the source code.
Installation
Simply install to your project:
sampctl package install ScavengeSurvive/door
Include in your code and begin using the library:
#include <door>
Testing
To test, simply run the package:
sampctl package run
And connect to localhost:7777 to test.
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing