RedM Natives

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

Hash0xD38744167B2FA257
Runtime nameSetBlipScale
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD38744167B2FA257

Signature

void SET_BLIP_SCALE(Blip blip, float scale);

Parameters

NameTypeDescription
blipBlip—
scalefloat—

Returns void

Description

VORPCORE RDR3natives

only works for BLIP_ADD_FOR_RADIUS AND BLIP_ADD_FOR_AREA, this native works as a radius not really a scale

Usage

Lua
SetBlipScale(blip, scale)

-- always works, by hash
Citizen.InvokeNative(0xD38744167B2FA257, blip, scale)
JavaScript and C#
JavaScript
SetBlipScale(blip, scale);

// by hash
Citizen.invokeNative('0xD38744167B2FA257', blip, scale + 0.0000001);
C#
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. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to 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.