ENTITY

SET_ENTITY_ROTATION

0x8524A8B0171D5E07 Jenkins: 0x0A345EFE

Signature

// ENTITY
void SET_ENTITY_ROTATION(Entity entity, float pitch, float roll, float yaw, int rotationOrder, BOOL p5)

Parameters

Type Name
Entity entity
float pitch
float roll
float yaw
int rotationOrder
BOOL p5

Return type void

Build 323

Documentation

rotationOrder refers to the order yaw pitch roll is applied value ranges from 0 to 5. What you use for rotationOrder when setting must be the same as rotationOrder when getting the rotation. Unsure what value corresponds to what rotation order, more testing will be needed for that. For the most part R* uses 1 or 2 as the order. p5 is usually set as true

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.