RedM Natives

REMOVE_BLIP

Removes the blip from your map.

Hash0xD8C3C1CD
Runtime nameRemoveBlip
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void REMOVE_BLIP(Blip* blip);

Parameters

NameTypeDescription
blipBlip*

Blip handle to remove.

Returns void

Description

Cfx.re native reference

Removes the blip from your map. Note: This function only works on the script that created the blip, if you wish to remove blips created by other scripts, see SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT.

This is the server-side RPC native equivalent of the client native REMOVE_BLIP.

Usage

Lua
local blip = RemoveBlip(blip)

-- always works, by hash
local blip = Citizen.InvokeNative(0xd8c3c1cd, Citizen.PointerValueIntInitialized(blip))
JavaScript and C#
JavaScript
const blip = RemoveBlip(blip);

// by hash
const blip = Citizen.invokeNative('0xd8c3c1cd', Citizen.pointerValueIntInitialized(blip));
C#
var blip = new OutputArgument();
Function.Call((Hash)0xd8c3c1cd, blip);
// blip.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

Sources

Cfx.re native reference

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