samp.directory
← Скрипты и библиотеки

ScavengeSurvive/door

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

Библиотека★ 3обновлён сент. 2024 г.MITPawnsampctl
Открыть на GitHub

Установка через sampctl

sampctl package install ScavengeSurvive/door

Выполните в папке проекта. sampctl скачает пакет и его зависимости.

Зависит от 4 пакетов

Используется в 2 пакетах

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.

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью