Install with sampctl
sampctl package install Shiska/rotations
Run this in your project folder. sampctl downloads the package and what it depends on.
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 1 package
- sampctl/samp-stdlibnot in this directory
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
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing