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):
FleecaHeist.setBlipWithSprite(-2968.920, 482.962, 15.469,1,52,5,true)
FleecaHeist.setBlipWithSprite(1175.326, 2699.340, 28.173,1,52,5,true)
FleecaHeist.setBlipWithSprite(-1215.781, -324.097, 37.706,1,52,5,true)
FleecaHeist.setBlipWithSprite(152.310, -1034.011, 29.339,1,52,5,true)
FleecaHeist.setBlipWithSprite(315.910, -273.660, 53.921,1,52,5,true)
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.
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; companion.CurrentBlip.Remove();
Try to change companion to your name
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.
i'm sorry, I have never worked with .lua to bad it didn't work right