samp.directory
← Scripts and libraries

ScavengeSurvive/door

A simple object movement manager that supports buttons as the default method of interacting.

Library★ 3updated Sep 2024MITPawnsampctl
Open on GitHub

Install with sampctl

sampctl package install ScavengeSurvive/door

Run this in your project folder. sampctl downloads the package and what it depends on.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

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

ScavengeSurvive/door: SA-MP Library | samp.directory