Browser blip, marker & checkpoint
Trova lo sprite di blip, il colore del blip, il marker 3D o il checkpoint da gara giusto per il tuo script. Ogni voce mostra ID e anteprima, con copia in un click e uno snippet Lua pronto.
Per ora questo strumento e le sue note sono in inglese.
Questo strumento è fuori servizio per manutenzione
Lo abbiamo spento per un momento. Il resto del sito continua a funzionare e lo strumento torna da solo.
Blips
A blip is the icon on the map and minimap. You create one with AddBlipForCoord, AddBlipForEntity or AddBlipForRadius, then pick the icon with SetBlipSprite and the colour with SetBlipColour. Most sprites are drawn in white and tinted by the colour, which is what the tint preview above shows. A few sprites (police, gang and mission icons) are already coloured and ignore the tint.
SetBlipDisplay(blip, 4)shows it on both the main map and the minimap.SetBlipAsShortRange(blip, true)hides it from the minimap edge when the player is far away. Use it for shops and other static points so the minimap stays clean.SetBlipScaletakes a float.0.8to1.0matches most vanilla blips.- Blip names use a text command:
BeginTextCommandSetBlipName("STRING"),AddTextComponentSubstringPlayerName,EndTextCommandSetBlipName.
Markers
Markers are 3D shapes drawn in the world with DrawMarker. They only last one frame, so you call it every tick while the player is close. The snippet above sleeps 500 ms when the player is out of range so the thread costs almost nothing when idle.
DrawMarker(type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ,
scaleX, scaleY, scaleZ, r, g, b, a,
bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts)Checkpoints
Checkpoints are the race style cylinders and rings. They work differently from markers: you call CreateCheckpoint once, the game keeps drawing it on its own, and it stays until you call DeleteCheckpoint with the returned handle. Do not put CreateCheckpoint in a loop, and always delete your checkpoints when the player reaches them or the resource stops.
local cp = CreateCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2,
diameter, red, green, blue, alpha, reserved)- The second position is the next point. It only sets where the arrow faces, so pass the next checkpoint of the route (or any point in the direction you want).
SetCheckpointCylinderHeight(cp, nearHeight, farHeight, radius)sets the cylinder height used when the player is inside the radius (near) and outside it (far).SetCheckpointRgba2(cp, r, g, b, a)colours the icon inside (arrow, flag, number). It is the current name ofSetCheckpointIconRgba; both work in Lua.SetCheckpointRgbachanges the main colour after creation.- Types 44 to 46 show a number or icon chosen with
reserved: 0 to 99 are plain numbers, 100 to 189 add a marker shape next to a digit. - Type ids here match game build 2189 and newer. Older builds use a slightly different order.
Data source
Sprite ids, names, colour values, marker types and checkpoint types come from the official FiveM docs (blips, markers and checkpoints). Checkpoint names are descriptive labels, not official names.
Altri strumenti riferimenti
Mappa interattiva
Tutta la mappa di GTA V nel browser: una mappa 2D con le coordinate e un mondo 3D da girare in freecam o a piedi.
Browser delle animazioni
Riproduci le animazioni di GTA V su un ped freemode in 3D. Tutti i dictionary e i clip del gioco, più le scene sincronizzate a due ped con i loro prop.
Browser delle cutscene
Ogni cutscene di GTA V con attori, durata, stacchi di camera e sottotitoli, più un'anteprima 3D di quelle che abbiamo esportato.
