Установка через sampctl
sampctl package install Shiska/rotations
Выполните в папке проекта. sampctl скачает пакет и его зависимости.
Добавляет файлы инклудов этого репозитория вместе с библиотеками, от которых он зависит, в компилятор Pawn в вашем браузере, чтобы их можно было сразу подключить в скрипте.
Зависит от 1 пакета
- sampctl/samp-stdlibнет в этом каталоге
README.md
rotations
Installation
sampctl package install Shiska/rotations
Usage
For all basic functions use: #include <rotation>
For additional functions use: #include <rotation_misc>
And if you want the easy way use: #include <rotation_extra>
It applies the basic functions for players, objects and vehicles.
Note: Vehicle related function only work if occupied due to GetVehicleRotationQuat.
Note: If you want to use the DynamicObject functions you need to include rotation_extra after streamer
Check the reference for further information.
Testing
sampctl package ensure
sampctl package build
sampctl package run
Reference
axis-angleseuler-anglespawnquaternionrotationrotation-matrixsa-mpsampctl
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью