samp.directory
← Scripts y librerías

Shiska/rotations

Convert rotations into eachother

Librería★ 9actualizado abr 2020MPL-2.0Pawnsampctl
Abrir en GitHub

Instalar con sampctl

sampctl package install Shiska/rotations

Ejecútalo en la carpeta de tu proyecto. sampctl descarga el paquete y sus dependencias.

Depende de 1 paquete

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

Esta página se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

Shiska/rotations: Librería de SA-MP | samp.directory