glitchdetector icon

RDR3 RedM Blip messing

glitchdetector | PRO | 11/12/19 09:34:58 PM UTC | 0 ⭐ | 2145 👁️ | Never ⏰ | []
Lua |

3.39 KB

|

None

|

0 👍

/

0 👎

-- https://cdn.discordapp.com/attachments/450373719974477835/643937562091716638/unknown.png
 
-- list of blips i've found
local BLIPS_NAMED = {
    {-1650465405, "Dominoes"},
    {-48718882  , "Dominoes: All Fives"},
    {-1581061148, "Dominoes: All Threes"},
    {1974815632 , "Five Finger Fillet"},
    {126262516  , "FFF: Guts"},
    {1015604260 , "FFF: Burnout"},
    {1243830185 , "Poker"},
    {-1327110633, "Saddle Bag"},
    {-1739686743, "Doctor"},
    {935247438  , ""}, -- diner / restaurant, no name, script sets name to "BLIP_CAMP_EAT"
    {-1954662204, "Donate to Camp"},
    {-570710357 , "Objective"}, -- script sets name to "BLIP_CAMP_CHORE"
    {1576459965 , "Ammunation"},
    {-695368421 , "Health Supplies"},
    {-1852063472, "Provisions"},
    {1321928545 , ""}, -- small black dot with no name
    {1012165077 , "Destination"}, -- not sure, code broke or destination blip
    {-1822497728, "Stranger"},
    {1242464081 , "Drinking"},
    {500148876  , "Hunting Ground"},
    {-1575595762, "Fishing"},
    {-729441538 , ""}, -- money in wheel? no name
    {623155783  , ""}, -- bank, no name
    {423351566  , "Herd"},
    {-1606321000, "Caravan Camp"},
    {444204045  , "Home Robbery"},
 
    -- Mission blips???
    {578982838, "", "BLIP_RC_COLLECTABLE_CIGCARD"}, -- blank, BLIP_RC_COLLECTABLE_CIGCARD
    {-1223580455}, -- blank, 1162303770
    {349797279, "", "BLIP_RC_COLLECTABLE_DINOBONES"}, -- blank, BLIP_RC_COLLECTABLE_DINOBONES
    {911890963, "", "BLIP_RC_COLLECTABLE_EXOTICS"}, -- blank, BLIP_RC_COLLECTABLE_EXOTICS
    {-170865073}, -- blank
}
 
-- kinda like blip color palette
local BLIP_TYPES = {
    422991367, -- companion, gray
    -325639900, -- pickup, white
    1664425300, -- weapon, white
    -1337945352, -- BLIP_NAME, white dot
    1673015813, -- BLIP_NAME, white dot
    1260140857, -- flashes and disappears
    -1702907713, -- enemy, pink
    203020899, -- destination, yellow dot x (smaller)
    -678244495, -- destination, light gray
    1560611276, -- posse camp, dark
    408396114, -- destination, yellow dot x (bigger)
    1687768444, -- destination, dark
}
 
-- some labels i came across
local BLIP_LABELS = {
    "BLIP_CAMP_HORSE",
    "BLIP_CAMP_HITCH",
    "BLIP_CAMP_EAT",
    "SADDLE_BLIP_ARTHUR",
    "SADDLE_BLIP_JOHN",
    "HORSE_BLIP_TEMPORARY",
    "HORSE_BLIP_ARTHUR",
    "HORSE_BLIP_JOHN",
}
 
-- where the testing of new blips happen
-- insert a list of blip entries
-- entry[1] is the blip sprite, rest is ignored
local BLIP_SPRITES = {
}
 
-- ADD_BLIP_FOR_ENTITY (i think lol)
-- N_0x23f74c2fda6e7c61(blipType, entity)
 
-- ADD_BLIP_FOR_COORD
-- N_0x554d9d53f696d002(blipType, posVector)
 
Citizen.CreateThread(function()
    for i, blipType in next, BLIP_TYPES do
        for n, blipData in next, BLIP_SPRITES do
            Citizen.CreateThread(function()
                local blip = N_0x554d9d53f696d002(blipType, 0.0 + n * 5.0, 0.0 + i * 5.0, 0.0)
                SetBlipSprite(blip, blipData[1], 1)
                -- Wait(30000)
                -- RemoveBlip(blip) -- literally doesn't work anyways
            end)
        end
    end
end)
 
-- seriously how the fuck does removeblip work now
-- RegisterCommand("bc", function()
--     SetThisScriptCanRemoveBlipsCreatedByAnyScript(true)
--     for n = 0, 5000 do
--         if DoesBlipExist(n) then
--             RemoveBlip(n)
--         end
--     end
-- end)

Comments