ScriptsAboutBlogToolsKnowledge BaseReviewsFAQBasketDocsSupport
client

AddBlipForEntity

FiveM client native documentation with a Lua example.

Summary

Attaches a blip to a moving entity (ped/vehicle) so it tracks on the map. Used for dispatch, tracking targets, and following NPCs.

Returns

Blip (number) — the blip handle.

Parameters

entitynumberThe entity to track.

Example

local blip = AddBlipForEntity(targetVeh)
SetBlipColour(blip, 1)
SetBlipAsShortRange(blip, false)

Common pitfalls

  • The blip follows the entity live — great for dispatch/tracking.
  • When the entity is deleted the blip should be removed too.

Related natives

Related guides

Need protected areas on your map?

Viper Safe-Zone draws polygon safe zones in-game — no hand-edited coordinates — with weapon, combat and vehicle-speed rules per zone.

See Viper Safe-Zone →