SET_BLIP_SCALE
only works for BLIP_ADD_FOR_RADIUS AND BLIP_ADD_FOR_AREA, this native works as a radius not really a scale
Hash
0xD38744167B2FA257Runtime name
SetBlipScaleNamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD38744167B2FA257Signature
void SET_BLIP_SCALE(Blip blip, float scale);Parameters
| Name | Type | Description |
|---|---|---|
blip | Blip | — |
scale | float | — |
Returns void
Description
only works for BLIP_ADD_FOR_RADIUS AND BLIP_ADD_FOR_AREA, this native works as a radius not really a scale
Usage
SetBlipScale(blip, scale)
-- always works, by hash
Citizen.InvokeNative(0xD38744167B2FA257, blip, scale)JavaScript and C#
SetBlipScale(blip, scale);
// by hash
Citizen.invokeNative('0xD38744167B2FA257', blip, scale + 0.0000001);Function.Call((Hash)0xD38744167B2FA257, blip, scale);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.