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

FiveM scripts done right

Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.

Browse Scripts →