samp.directory
← Scripts e bibliotecas

Shiska/rotations

Convert rotations into eachother

Biblioteca★ 9atualizado abr. de 2020MPL-2.0Pawnsampctl
Abrir no GitHub

Instalar com o sampctl

sampctl package install Shiska/rotations

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

Depende de 1 pacote

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 é 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