Moinmoin,
Ich benutze das Script SecretBlips von Musiker15 und musste feststellen, dass dieses Script scheinbar nur für einen Eintrag in der Config geschrieben wurde.
Ich erhalte folgende Fehlermeldung:
In der Config stehen mehrere Einträge.
Beispiel:
Config.DrugItem = "map_apfelfarm" -- Set your Item here then insert into your database.Config.SecretBlips = { -- Add your Blips here {x = -623.44, y = -823.08, z = 25.25, display = "Apfelfeld", blip = 51, color = 5, scale = 0.8}, -- {x = -623.44, y = -823.08, z = 25.25, display = "Apfelverarbeiter", blip = 51, color = 5, scale = 0.8}, -- {x = -623.44, y = -823.08, z = 25.25, display = "Apfelverkäufer", blip = 51, color = 5, scale = 0.8}, --}
Wenn ich beim Abschluss ein Komma (,) hinzufüge wird die untere Zeile komplett als Fehler markiert und ist rot unterstrichen. Beispiel:
Config.DrugItem = "map_apfelfarm" -- Set your Item here then insert into your database.
Config.SecretBlips = { -- Add your Blips here
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelfeld", blip = 51, color = 5, scale = 0.8}, --
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelverarbeiter", blip = 51, color = 5, scale = 0.8}, --
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelverkäufer", blip = 51, color = 5, scale = 0.8}, --
},
Config.DrugItem = "map_apfelfarm" -- Set your Item here then insert into your database.
Config.SecretBlips = { -- Add your Blips here
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelfeld", blip = 51, color = 5, scale = 0.8}, --
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelverarbeiter", blip = 51, color = 5, scale = 0.8}, --
{x = -623.44, y = -823.08, z = 25.25, display = "Apfelverkäufer", blip = 51, color = 5, scale = 0.8}, --
}
Wobei ich gerade erst sehe, dass da Config.DrugItem steht. Macht das was aus?
Wie könnte ich das Script so fixen, dass ich es für beliebige Standorte verwenden kann?
Danke schonmal