samp.directory
← Scripts et bibliothèques

ScavengeSurvive/door

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

Bibliothèque★ 3mis à jour sept. 2024MITPawnsampctl
Ouvrir sur GitHub

Installer avec sampctl

sampctl package install ScavengeSurvive/door

Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un 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.

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

ScavengeSurvive/door : Bibliothèque SA-MP | samp.directory