RedM Natives

SET_BLIP_FLASHES

_GET_BLIP_MAP_CARD_INFO this should be the name there is no flash timer for blips

Hash0x0DF2B55F717DDB10
Runtime nameSetBlipFlashes
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB14552383D39CE3E

Signature

BOOL SET_BLIP_FLASHES(Blip blip, int* p1, Hash* p2);

Parameters

NameTypeDescription
blipBlip—
p1int*—
p2Hash*—

Returns BOOL

Description

VORPCORE RDR3natives

_GET_BLIP_MAP_CARD_INFO this should be the name there is no flash timer for blips

Usage

Lua
local retval, p1, p2 = SetBlipFlashes(blip)

-- always works, by hash
local retval, p1, p2 = Citizen.InvokeNative(0x0DF2B55F717DDB10, blip, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p1, p2] = SetBlipFlashes(blip);

// by hash
const [retval, p1, p2] = Citizen.invokeNative('0x0DF2B55F717DDB10', blip, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());
C#
var p1 = new OutputArgument();
var p2 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x0DF2B55F717DDB10, blip, p1, p2);
// p1.GetResult<int>()
// p2.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

Examples

LUA · VORPCORE RDR3natives
local blipType, mapCardId = Citizen.InvokeNative(0x0DF2B55F717DDB10, intParameter, Citizen.PointerValueInt(), Citizen.PointerValueInt())
// will return whatever you passed in blipType as long is an int

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.