samp.directory
← Scripts et bibliothèques

Shiska/rotations

Convert rotations into eachother

Bibliothèque★ 9mis à jour avr. 2020MPL-2.0Pawnsampctl
Ouvrir sur GitHub

Installer avec sampctl

sampctl package install Shiska/rotations

Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.

Dépend de 1 paquet

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

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

Shiska/rotations : Bibliothèque SA-MP | samp.directory