0 jugando
Descargar
Persecución policial bajo el tren elevado en Mafia II

Wiki

Blips

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).

Blip icons: icon (rows) by style (columns)

The game's own

icon, styleWhat the game uses it for
any, 1main mission (red)
any, 2jobs (olive)
6, 6home
0, 9bar
1, 9food and drinks
2, 9clothing store
3, 9Bruski's scrapyard
4, 9gun shop
5, 9Harry
7, 9Derek's office
The map's legend

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.