Blip styles
Categoryuseful_info_from_rpfs
Rows258
Blip Styles
Usage
local function CreateBlip(style, coords, modifiers, name)
-- The blip's style is the base styling which can then be overridden by modifiers and natives
local blip = BlipAddForCoords(style, coords.x, coords.y, coords.z)
-- The modifier actions are applied in order, with natives respecting that order
-- In this case, we are applying modifiers in order and then overriding the name below
for _, modifier in ipairs(modifiers) do
BlipAddModifier(blip, modifier)
end
-- Always override the blip name last after applying modifiers
SetBlipName(blip, name)
end
-- Don't forget to remove the blip after you're done!
CreateBlip(
`BLIP_STYLE_SHOP`,
vector3(2508.1557, -1450.2551, 44.6105),
{ `BLIP_MODIFIER_TOD_DAYTIME_ONLY` },
"Stables"
)Details
Conditional/Auto Modifiers
Examples
| # | hashname | actions | Note |
|---|---|---|---|
| 201 | BLIP_STYLE_SELECTED_REGION | Category: HIGHLIGHTED_REGION · Color: COLOR_WHITE · Range: Map: Zoom Level · Visibility: Hidden on Radar | |
| 202 | BLIP_STYLE_SHOP | Category: SHOP · Color: COLOR_FRIENDLY · Conditional Style: When player is wanted for 100ms: · - Apply AUTO_MODIFIER_MAP_ONLY · Height Indicator: Yes · Label: BLIP_DEST · Range: Map: Always, Radar: Relative Zoom Level · Scale: Default: 1, Edge: 0.8 · Sprite: BLIP_CODE_LEVEL | |
| 203 | BLIP_STYLE_SP_CORPSE | Category: MISSION_ACTIVE · Color: COLOR_RED · Label: BLIP_RECENT_DEATH · Range: Map: Always · Scale: 1 · Sprite: BLIP_AMBIENT_DEATH · Visibility: Hidden on Radar | |
| 204 | BLIP_STYLE_SP_CORPSE_FADE | Category: MISSION_ACTIVE · Color: COLOR_RED · Conditional Removal: Remove blip (fades over 4,000ms) · Label: BLIP_RECENT_DEATH · Range: Always · Scale: 1 · Sprite: BLIP_AMBIENT_DEATH | |
| 205 | BLIP_STYLE_TEAM_WAYPOINT | Category: WAYPOINT · Color: COLOR_NET_PLAYER1 · Label: BLIP_TEAM_WAYPOINT · Scale: 1 · Sprite: BLIP_CODE_WAYPOINT | |
| 206 | BLIP_STYLE_TEMPORARY_HORSE | Category: LOCAL_PLAYER_HORSE_TEMP · Color: COLOR_WHITE · Conditional Style: When player is riding entity for 100ms: · - Apply BLIP_MODIFIER_HIDDEN · Height Indicator: Yes · Label: HORSE_BLIP_ARTHUR · Range: Map: Always, Radar: Always · Scale: Default: 1, Edge: 0.9 · Sprite: BLIP_HORSE_TEMP | |
| 207 | BLIP_STYLE_TOWN | Color: COLOR_BLACK · Label: BLIP_DEST · Scale: 1 · Sprite: BLIP_CODE_LEVEL · Visibility: Hidden on Radar | |
| 208 | BLIP_STYLE_TRACKING | Color: COLOR_OBJECTIVE · Scale: 1 · Sprite: BLIP_AMBIENT_TRACKING | |
| 209 | BLIP_STYLE_TRACKING_DOT | Color: COLOR_OBJECTIVE · Conditional Removal: Remove blip (fades over 5,000ms) · Range: Map: Always, Radar: Zoom Level · Scale: 1 · Sprite: BLIP_AMBIENT_TRACKING | |
| 210 | BLIP_STYLE_TRAIN | Category: AMBIENT_TRANSPORT · Color: COLOR_FRIENDLY · Conditional Style: When player is driving a train for 100ms: · - Apply BLIP_MODIFIER_HIDDEN · Heading Type: Arrow · Height Indicator: Yes · Label: BLIP_AMBIENT_TRAIN · Range: Zoom Level · Scale: 1 · Sprite: BLIP_AMBIENT_TRAIN | |
| 211 | BLIP_STYLE_TRAIN_BOOKMARK | Category: AMBIENT_TRANSPORT · Color: COLOR_FRIENDLY · Heading Type: Arrow · Height Indicator: Yes · Label: BLIP_AMBIENT_TRAIN · Range: Zoom Level · Scale: 1 · Sprite: BLIP_AMBIENT_TRAIN | |
| 212 | BLIP_STYLE_TURRET_WEAPON | Category: PICKUPS · Color: COLOR_WHITE · Conditional Style: When player is driver for 100ms: · - Apply BLIP_MODIFIER_HIDDEN · Heading Type: Rotate · Height Indicator: Yes · Label: BLIP_CANNON · Range: Map: Zoom Level, Radar: Zoom Level · Scale: 1 · Sprite: BLIP_WEAPON | |
| 213 | BLIP_STYLE_UNDISCOVERED | Color: COLOR_NEUTRAL · Label: BLIP_POI · Scale: 1 · Sprite: BLIP_AMBIENT_SECRET | |
| 214 | BLIP_STYLE_UPCOMING_OBJECTIVE | Alpha: 0.55 (for area layer) · Category: OBJECTIVE · Color: COLOR_OBJECTIVE · Conditional Style: When entity inside blip area for 100ms: · - Apply AUTO_MODIFIER_AREA_DIM_WHEN_INSIDE · Height Indicator: Yes · Label: BLIP_DEST · Scale: 1 · Sprite: BLIP_OBJECTIVE_MINOR | |
| 215 | BLIP_STYLE_WANTED_RADIUS | Alpha: 0.4 (for area layer) · Color: COLOR_WANTED · Label: LAW_UI_WANTED · Range: Map: Always, Radar: Zoom Level · Sprite: BLIP_AMBIENT_LAW · Visibility: Hidden on Legend | |
| 216 | BLIP_STYLE_WANTED_REGION | Category: HIGHLIGHTED_REGION · Color: COLOR_RED · Range: Always · Scale: 1 · Sprite: BLIP_CODE_LEVEL | |
| 217 | BLIP_STYLE_WANTED_STATE | Category: VERY_LAST · Color: COLOR_RADAR_BRUSH_WANTED_BG · Range: Always · Scale: 1 · Sprite: BLIP_CODE_LEVEL | |
| 218 | BLIP_STYLE_WAYPOINT | Category: WAYPOINT · Color: COLOR_WAYPOINT · Disable Fog Clearing: Yes · Label: BLIP_CODE_WAYPOINT · Scale: 1 · Sprite: BLIP_CODE_WAYPOINT |