FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: HUDAPI set: clientGame: gta5editImprove

ADD_BLIP_FOR_ENTITY

0x5CDE92C702A8FCE7
0x30822554
// AddBlipForEntity
Blip ADD_BLIP_FOR_ENTITY(Entity entity);
Parameters:
  • entity:

    The entity handle to create the blip.

Returns:

A blip handle.

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: enemy Example of friend: friend

Examples:

  • Lua
  • JavaScript
local blip = AddBlipForEntity(PlayerPedId()) -- This adds an enemy blip to yourself
0xCA465D9CC0D231BA(Any p0)
0xCA4AE345A153D573(BOOL p0)
0xCB82A0BF0E3E3265(int p0)
0xCFD16F0DB5A3535C(BOOL toggle)
0xD1C55B110E4DF534(Any p0)
0xD1C7CB175E012964(int scaleformHandle)
0xD9454B5752C857DC()
0xDB1EA9411C8911EC(int checkpointHandle)
0xE2892E7E55D7073A(float p0)
0xE3E2C1B4C59DBC77(int unk)
0xE59343E9E96529E7()
0xE63D7C6EECECB66B(BOOL toggle)
0xE791DF1F73ED2C8B(Any p0)
0xEC72C258667BE5EA(Any p0)
0xEF398BEEE4EF45F9(BOOL p0)
0xEFABC7722293DA7C()
0xF3F776ADA161E47D(Any p0, Any p1)
0xF51D36185993515D(int checkpoint, float posX, float posY, float posZ, float unkX, float unkY, float unkZ)
0xF78B803082D4386F(float p0)
0xFCF6788FC4860CD4(int checkpoint)
Namespace: HUD
ACTIVATE_FRONTEND_MENU(Hash menuhash, BOOL togglePause, int component)
_ADD_BLIP_FOR_AREA(float x, float y, float z, float width, float height)
ADD_BLIP_FOR_COORD(float x, float y, float z)
ADD_BLIP_FOR_ENTITY(Entity entity)
ADD_BLIP_FOR_PICKUP(Pickup pickup)
ADD_BLIP_FOR_RADIUS(float posX, float posY, float posZ, float radius)
ADD_NEXT_MESSAGE_TO_PREVIOUS_BRIEFS(BOOL p0)
ADD_POINT_TO_GPS_CUSTOM_ROUTE(float x, float y, float z)
ADD_POINT_TO_GPS_MULTI_ROUTE(float x, float y, float z)
ADD_TEXT_COMPONENT_FLOAT(float value, int decimalPlaces)
ADD_TEXT_COMPONENT_FORMATTED_INTEGER(int value, BOOL commaSeparated)
ADD_TEXT_COMPONENT_INTEGER(int value)
ADD_TEXT_COMPONENT_SUBSTRING_BLIP_NAME(Blip blip)
ADD_TEXT_COMPONENT_SUBSTRING_KEYBOARD_DISPLAY(char* string)