setBlipRotationWithFloat
SET_BLIP_ROTATION_WITH_FLOAT0xA8B6AFDAC320AC87The GTA V native SET_BLIP_ROTATION_WITH_FLOAT of the HUD namespace, as LS:MP client scripts call it: the global function setBlipRotationWithFloat, in JavaScript and in Lua.
setBlipRotationWithFloat(blip: Blip, heading: number): voidsetBlipRotationWithFloat(blip: Blip, heading: number)Usage
JavaScript
setBlipRotationWithFloat(blip, heading);Lua
setBlipRotationWithFloat(blip, heading)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
heading | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Does not require whole number/integer rotations.
Reference
- Namespace
- HUD HUD
- In the game
void SET_BLIP_ROTATION_WITH_FLOAT(Blip blip, float heading)- Hash
0xA8B6AFDAC320AC87- Introduced
- Game build 877 legacy numbering
- Formerly
_SET_BLIP_SQUARED_ROTATION