alt.setRotationVelocity
Sets the rotation velocity of an entity. Entity being a vehicle, player, ped, etc.
Declaration
alt.setRotationVelocity(scriptID: number, x: number, y: number, z: number): void
Usage
alt.setRotationVelocity(alt.Player.local.scriptID, 0, 0, 0);
No good examples of this
Real World Example
alt.setRotationVelocity(alt.Player.local.scriptID, 0, 0, 0);
No good examples of this
These examples assume you have imported alt
from alt-client
.