samp.directory
← Skripte und Bibliotheken

Shiska/rotations

Convert rotations into eachother

Bibliothek★ 9aktualisiert Apr. 2020MPL-2.0Pawnsampctl
Auf GitHub öffnen

Mit sampctl installieren

sampctl package install Shiska/rotations

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

Hängt von 1 Paket ab

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

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden

Shiska/rotations: SA-MP Bibliothek | samp.directory