glitchdetector

RDR3 RedM Blip messing

Nov 12th, 2019
1,863
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.39 KB | None | 0 0
  1. -- https://cdn.discordapp.com/attachments/450373719974477835/643937562091716638/unknown.png
  2.  
  3. -- list of blips i've found
  4. local BLIPS_NAMED = {
  5.     {-1650465405, "Dominoes"},
  6.     {-48718882  , "Dominoes: All Fives"},
  7.     {-1581061148, "Dominoes: All Threes"},
  8.     {1974815632 , "Five Finger Fillet"},
  9.     {126262516  , "FFF: Guts"},
  10.     {1015604260 , "FFF: Burnout"},
  11.     {1243830185 , "Poker"},
  12.     {-1327110633, "Saddle Bag"},
  13.     {-1739686743, "Doctor"},
  14.     {935247438  , ""}, -- diner / restaurant, no name, script sets name to "BLIP_CAMP_EAT"
  15.     {-1954662204, "Donate to Camp"},
  16.     {-570710357 , "Objective"}, -- script sets name to "BLIP_CAMP_CHORE"
  17.     {1576459965 , "Ammunation"},
  18.     {-695368421 , "Health Supplies"},
  19.     {-1852063472, "Provisions"},
  20.     {1321928545 , ""}, -- small black dot with no name
  21.     {1012165077 , "Destination"}, -- not sure, code broke or destination blip
  22.     {-1822497728, "Stranger"},
  23.     {1242464081 , "Drinking"},
  24.     {500148876  , "Hunting Ground"},
  25.     {-1575595762, "Fishing"},
  26.     {-729441538 , ""}, -- money in wheel? no name
  27.     {623155783  , ""}, -- bank, no name
  28.     {423351566  , "Herd"},
  29.     {-1606321000, "Caravan Camp"},
  30.     {444204045  , "Home Robbery"},
  31.  
  32.     -- Mission blips???
  33.     {578982838, "", "BLIP_RC_COLLECTABLE_CIGCARD"}, -- blank, BLIP_RC_COLLECTABLE_CIGCARD
  34.     {-1223580455}, -- blank, 1162303770
  35.     {349797279, "", "BLIP_RC_COLLECTABLE_DINOBONES"}, -- blank, BLIP_RC_COLLECTABLE_DINOBONES
  36.     {911890963, "", "BLIP_RC_COLLECTABLE_EXOTICS"}, -- blank, BLIP_RC_COLLECTABLE_EXOTICS
  37.     {-170865073}, -- blank
  38. }
  39.  
  40. -- kinda like blip color palette
  41. local BLIP_TYPES = {
  42.     422991367, -- companion, gray
  43.     -325639900, -- pickup, white
  44.     1664425300, -- weapon, white
  45.     -1337945352, -- BLIP_NAME, white dot
  46.     1673015813, -- BLIP_NAME, white dot
  47.     1260140857, -- flashes and disappears
  48.     -1702907713, -- enemy, pink
  49.     203020899, -- destination, yellow dot x (smaller)
  50.     -678244495, -- destination, light gray
  51.     1560611276, -- posse camp, dark
  52.     408396114, -- destination, yellow dot x (bigger)
  53.     1687768444, -- destination, dark
  54. }
  55.  
  56. -- some labels i came across
  57. local BLIP_LABELS = {
  58.     "BLIP_CAMP_HORSE",
  59.     "BLIP_CAMP_HITCH",
  60.     "BLIP_CAMP_EAT",
  61.     "SADDLE_BLIP_ARTHUR",
  62.     "SADDLE_BLIP_JOHN",
  63.     "HORSE_BLIP_TEMPORARY",
  64.     "HORSE_BLIP_ARTHUR",
  65.     "HORSE_BLIP_JOHN",
  66. }
  67.  
  68. -- where the testing of new blips happen
  69. -- insert a list of blip entries
  70. -- entry[1] is the blip sprite, rest is ignored
  71. local BLIP_SPRITES = {
  72. }
  73.  
  74. -- ADD_BLIP_FOR_ENTITY (i think lol)
  75. -- N_0x23f74c2fda6e7c61(blipType, entity)
  76.  
  77. -- ADD_BLIP_FOR_COORD
  78. -- N_0x554d9d53f696d002(blipType, posVector)
  79.  
  80. Citizen.CreateThread(function()
  81.     for i, blipType in next, BLIP_TYPES do
  82.         for n, blipData in next, BLIP_SPRITES do
  83.             Citizen.CreateThread(function()
  84.                 local blip = N_0x554d9d53f696d002(blipType, 0.0 + n * 5.0, 0.0 + i * 5.0, 0.0)
  85.                 SetBlipSprite(blip, blipData[1], 1)
  86.                 -- Wait(30000)
  87.                 -- RemoveBlip(blip) -- literally doesn't work anyways
  88.             end)
  89.         end
  90.     end
  91. end)
  92.  
  93. -- seriously how the fuck does removeblip work now
  94. -- RegisterCommand("bc", function()
  95. --     SetThisScriptCanRemoveBlipsCreatedByAnyScript(true)
  96. --     for n = 0, 5000 do
  97. --         if DoesBlipExist(n) then
  98. --             RemoveBlip(n)
  99. --         end
  100. --     end
  101. -- end)
Add Comment
Please, Sign In to add comment