getEntityPitch
GET_ENTITY_PITCH0xD45DC2893621E1FEThe GTA V native GET_ENTITY_PITCH of the ENTITY namespace, as LS:MP client scripts call it: the global function getEntityPitch, in JavaScript and in Lua.
getEntityPitch(entity: Entity): numbergetEntityPitch(entity: Entity): numberUsage
JavaScript
const value = getEntityPitch(entity);Lua
local value = getEntityPitch(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Entity ENTITY
- In the game
float GET_ENTITY_PITCH(Entity entity)- Hash
0xD45DC2893621E1FE