Skip to content

Shiska/rotations

Repository files navigation

rotations

sampctl

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