Icons on the map and the radar. blips.* on the server: every player sees them. In a client script: only that player does. An icon is two numbers: icon (the picture, a row below) and style (its frame and color, a column).
The game's own
| icon, style | What the game uses it for |
|---|---|
| any, 1 | main mission (red) |
| any, 2 | jobs (olive) |
| 6, 6 | home |
| 0, 9 | bar |
| 1, 9 | food and drinks |
| 2, 9 | clothing store |
| 3, 9 | Bruski's scrapyard |
| 4, 9 | gun shop |
| 5, 9 | Harry |
| 7, 9 | Derek's office |
Examples
-- server: a gun shop everyone sees, and everyone on everyone's radar
blips.create(120, 905, -20, { icon = 4, style = 9 })
events.on("playerReady", function(player)
blips.attach(player, { icon = 0, style = 2 })
end)
-- client script: a target only this player sees
local goal = blips.create(x, y, z, { icon = 0, style = 1 })
goal:destroy()
A blip on a player or a vehicle shows while they're near enough to be in the player's world. Freeroam puts every player on everyone's radar.