ADD_BLIP_FOR_ENTITY
Create a blip that by default is red (enemy), you can use SET_BLIP_AS_FRIENDLY to make it blue (friend).\ Can be used for objects, vehicles and peds.
Signature
Blip ADD_BLIP_FOR_ENTITY(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | The entity handle to create the blip. |
Returns Blip — A blip handle.
Description
Create a blip that by default is red (enemy), you can use SET_BLIP_AS_FRIENDLY to make it blue (friend).
Can be used for objects, vehicles and peds.
Example of enemy:
Example of friend:

This is the server-side RPC native equivalent of the client native ADD_BLIP_FOR_ENTITY.
Usage
local retval = AddBlipForEntity(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x30822554, entity, Citizen.ResultAsInteger())JavaScript and C#
const retval = AddBlipForEntity(entity);
// by hash
const retval = Citizen.invokeNative('0x30822554', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x30822554, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.