HUDClient

setBlipRotationWithFloat

SET_BLIP_ROTATION_WITH_FLOAT0xA8B6AFDAC320AC87

The 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.

SignatureJavaScript
setBlipRotationWithFloat(blip: Blip, heading: number): void
SignatureLua
setBlipRotationWithFloat(blip: Blip, heading: number)

Usage

JavaScript
setBlipRotationWithFloat(blip, heading);
Lua
setBlipRotationWithFloat(blip, heading)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
headingfloatnumbernumber

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

Open in the interactive natives reference