samp.directory
← Scripts e bibliotecas

ScavengeSurvive/door

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

Biblioteca★ 3atualizado set. de 2024MITPawnsampctl
Abrir no GitHub

Instalar com o sampctl

sampctl package install ScavengeSurvive/door

Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.

Depende de 4 pacotes

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.

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página