Log in to reply

Need help setting up Blips in .lua script

  • I'm using Bank Robbery mod by HippieCommunist and I want to enable blips for Fleeca bank branches.

    This supposed to be coordinates for Fleeca branches (from Trifecta mod):
    --Bank 1
    FleecaHeist.setBlipWithSprite(-2968.920, 482.962, 15.469,1,52,5,true)
    --Bank 2
    FleecaHeist.setBlipWithSprite(1175.326, 2699.340, 28.173,1,52,5,true)
    --Bank 3
    FleecaHeist.setBlipWithSprite(-1215.781, -324.097, 37.706,1,52,5,true)
    --Bank 4
    FleecaHeist.setBlipWithSprite(152.310, -1034.011, 29.339,1,52,5,true)
    --Bank 5
    FleecaHeist.setBlipWithSprite(315.910, -273.660, 53.921,1,52,5,true)
    --Bank 6
    FleecaHeist.setBlipWithSprite(-348.896, -41.828, 49.037,1,52,5,true)

    Question: how I exactly code should look like for the blips to appear on the map?

    P.S. Not trying to steal or upload someone's work, need it strictly for myself.

  • Ok, I got it working, but another question:
    Can I somehow rename Blips? Tried different code variations, nothing worked so far.

  • @Forrest-Gimp

    I don't know anything from .Lua
    But if it's almost the same as visual studio stuff i used this

            var companionblip = companion.AddBlip();
            companionblip.Color = BlipColor.Green;
            companionblip.Scale = 0.9f;

    Try to change companion to your name

  • @yeahhmonkey
    Well, I don't know anything about .lua either, but code looks completely different. Tried applying it anyway, but didn't work. Thanks for tips anyway.

  • @Forrest-Gimp
    i'm sorry, I have never worked with .lua to bad it didn't work right :(

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.