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

_ADD_BLIP_FOR_AREA

0xCE5D0E5E315DB238
// AddBlipForArea
Blip _ADD_BLIP_FOR_AREA(float x, float y, float z, float width, float height);
Parameters:
  • x:

    The X coordinate of the center of the blip.

  • y:

    The Y coordinate of the center of the blip.

  • z:

    The Z coordinate of the center of the blip.

  • width:

    The width of the blip.

  • height:

    The height of the blip.

Returns:

A handle to the blip.

Adds a rectangular blip for the specified coordinates/area.

It is recommended to use SET_BLIP_ROTATION and SET_BLIP_COLOUR to make the blip not rotate along with the camera.

By default, the blip will show as a regular blip with the specified color/sprite if it is outside of the minimap view.

Example image: minimap big map

(Native name is likely to actually be ADD_BLIP_FOR_AREA, but due to the usual reasons this can't be confirmed)

Examples:

  • Lua
local coords = GetEntityCoords(PlayerPedId())
local blip = AddBlipForArea(coords.x, coords.y, coords.z, 100.0, 50.0)
SetBlipRotation(blip, 0)
SetBlipColour(blip, 0xFF00FF80)
Privacy
•
Cookie Policy
•
Cookie Settings
0xBCEDB009461DA156()
0xBE197EAA669238F4(Any p0, Any p1, Any p2, Any p3)
0xC0416B061F2B7E5E(BOOL p0)
0xC35A6D07C93802B2()
0xC5C8F970D4EDFF71(Any p0)
0xCA465D9CC0D231BA(Any p0)
0xCA4AE345A153D573(BOOL p0)
0xCB82A0BF0E3E3265(int p0)
0xCFD16F0DB5A3535C(BOOL toggle)
0xD1C55B110E4DF534(Any p0)
0xDB1EA9411C8911EC(int checkpointHandle)
0xE2892E7E55D7073A(float p0)
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 addToBrief)
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)