Settings
Last updated
Last updated
Puedes agregar diferentes casas para robar, diferentes puntos donde buscar dentro de las casas, diferentes props para robar y podrá cambiar los precios de cada objeto que puedes robar en la casa. También podrá cambiar los diálogos y mucho más.
You can add different houses to rob, different search points within the houses, different props for robbing, and you can change the prices of each item you can steal in the house. You can also change the dialogue and much more.
GLOBALS = {
Houses = {
[1] = {
coords = vector3(-884.52, 699.29, 151.27),
houseName = "Casa de Lujo [1]",
door = vector3(-884.52, 699.29, 151.27),
safe = {x = 117.38, y = 570.64, z = 176.7, h = 6.0},
interiorShell = "luxuryHouse1",
searchPoints = {
coords = {
[1] = {x = 117.98, y = 548.39, z = 184.1},
[2] = {x = 118.34, y = 543.91, z = 183.9},
[3] = {x = 126.3, y = 543.26, z = 183.9},
[4] = {x = 118.44, y = 543.32, z = 180.5},
[5] = {x = 122.0, y = 549.18, z = 180.5},
[6] = {x = 126.11, y = 546.07, z = 180.52},
[7] = {x = 126.67, y = 542.41, z = 180.52},
[8] = {x = 114.06, y = 561.11, z = 176.7},
[9] = {x = 118.04, y = 563.89, z = 176.7},
},
rewards = {
[1] = {
items = {
{name = "phone", quantity = 1},
},
},
[2] = {
items = {
{name = "lockpick", quantity = 1},
{name = "cash", quantity = 50},
},
},
[3] = {
items = {
{name = "cash", quantity = 100},
},
},
}
},
},
[2] = {
coords = vector3(-908.73, 693.66, 151.44),
houseName = "Casa de Lujo [2]",
door = vector3(-908.73, 693.66, 151.44),
safe = {x = -677.32, y = 585.78, z = 137.77, h = 220.0},
interiorShell = "luxuryHouse2",
searchPoints = {
coords = {
[1] = {x = -674.52, y = 584.59, z = 145.17},
[2] = {x = -671.78, y = 581.28, z = 144.97},
[3] = {x = -668.36, y = 588.02, z = 145.17},
[4] = {x = -671.22, y = 580.48, z = 141.57},
[5] = {x = -671.55, y = 587.72, z = 141.57},
[6] = {x = -666.47, y = 587.05, z = 141.6},
[7] = {x = -664.55, y = 584.75, z = 141.6},
[8] = {x = -682.52, y = 595.8, z = 137.77},
[9] = {x = -681.76, y = 590.6, z = 137.77},
},
rewards = {
[1] = {
items = {
{name = "phone", quantity = 1},
},
},
[2] = {
items = {
{name = "lockpick", quantity = 1},
{name = "cash", quantity = 50},
},
},
[3] = {
items = {
{name = "cash", quantity = 100},
},
},
}
},
},
[3] = {
coords = vector3(500.68, -1697.1, 29.79),
houseName = "Casa de Barrios Bajos [1]",
door = vector3(500.68, -1697.1, 29.79),
safe = {x = 264.66, y = -1003.57, z = -98.01, h = 178.19},
interiorShell = "lowHouse",
searchPoints = {
coords = {
[1] = {x = 265.91, y = -999.45, z = -98.01},
[2] = {x = 259.7, y = -1003.95, z = -98.01},
[3] = {x = 261.33, y = -1002.54, z = -98.01},
[4] = {x = 262.99, y = -1003.05, z = -98.01},
[5] = {x = 262.01, y = -995.26, z = -98.01},
},
rewards = {
[1] = {
items = {
{name = "phone", quantity = 1},
},
},
[2] = {
items = {
{name = "lockpick", quantity = 1},
{name = "cash", quantity = 50},
},
},
[3] = {
items = {
{name = "cash", quantity = 100},
},
},
}
},
},
[4] = {
coords = vector3(304.39, -1775.49, 29.1),
houseName = "Casa de Barrios Bajos [2]",
door = vector3(304.39, -1775.49, 29.1),
safe = {x = 349.1, y = -992.79, z = -98.2, h = 7.35},
interiorShell = "midLowHouse",
searchPoints = {
coords = {
[1] = {x = 351.18, y = -999.28, z = -98.2},
[2] = {x = 351.96, y = -998.72, z = -98.2},
[3] = {x = 351.21, y = -993.59, z = -98.2},
[4] = {x = 349.2, y = -994.82, z = -98.2},
[5] = {x = 339.31, y = -1003.34, z = -98.2},
[6] = {x = 346.16, y = -1001.68, z = -98.2},
},
rewards = {
[1] = {
items = {
{name = "phone", quantity = 1},
},
},
[2] = {
items = {
{name = "lockpick", quantity = 1},
{name = "cash", quantity = 50},
},
},
[3] = {
items = {
{name = "cash", quantity = 100},
},
},
}
},
},
},
NPCSpawnLocations = {
[1] = {
coords = vector4(-62.35, -2516.1, 7.4, 173.46),
},
[2] = {
coords = vector4(839.84, -2308.24, 30.66, 97.47),
},
[3] = {
coords = vector4(915.57, -1703.38, 51.26, 359.39),
},
},
SellNPCSpawnLocations = {
[1] = {
coords = vector4(557.49, 2665.9, 42.18, 187.85),
},
[2] = {
coords = vector4(-466.46, 6288.2, 13.61, 104.31),
},
[3] = {
coords = vector4(451.38, -3087.6, 6.07, 231.53),
},
},
NPCDialog = {
{text = "Necesito que me ayudes con un trabajo...", audio = "dialog1"},
{text = "Hay una casa que debe ser... 'visitada'.", audio = "dialog2"},
{text = "No te preocupes, te diré exactamente dónde.", audio = "dialog3"},
},
SellNPCDialog = {
{text = "Déjame ver la mercancía que tienes", audio = "see_items"},
{text = "Toma la parte que te corresponde por estos objetos", audio = "item_sold"},
},
LockpickItems = {
{itemName = "horquilla", label = "Horquilla"}
},
safeOpenItems = {
{itemName = "estetoscopio", label = "Estetoscopio"}
},
RobbableItems = {
{
name = "Telescope",
propName = "prop_t_telescope_01b",
itemName = "telescope",
interior = {"luxuryHouse1", "luxuryHouse2"},
offset = vector3(0.0, 0.15, 0.0),
rotation = vector3(-90.0, 0.0, 0.0)
},
{
name = "Microwave",
propName = "prop_micro_02",
itemName = "microwave",
interior = {"luxuryHouse1", "lowHouse", "luxuryHouse2"},
offset = vector3(0.030, 0.15, -0.30),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "Microwave",
propName = "prop_micro_01",
itemName = "microwave",
interior = {"midLowHouse"},
offset = vector3(0.12, 0.15, -0.20),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "Laptop",
propName = "prop_laptop_01a",
itemName = "laptop",
interior = {"luxuryHouse1", "luxuryHouse2"},
offset = vector3(0.15, 0.0, -0.30),
rotation = vector3(70.0, 250.0, -510.0)
},
{
name = "Keyboard",
propName = "prop_keyboard_01b",
itemName = "keyboard",
interior = {"luxuryHouse1", "luxuryHouse2"},
offset = vector3(0.15, -0.04, -0.2),
rotation = vector3(80.0, 250.0, -170.0)
},
{
name = "Printer",
propName = "prop_printer_01",
itemName = "printer",
interior = {"luxuryHouse1", "luxuryHouse2"},
offset = vector3(0.15, 0.08, -0.20),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "Toaster",
propName = "prop_toaster_01",
itemName = "toaster",
interior = {"luxuryHouse1", "midLowHouse", "luxuryHouse2"},
offset = vector3(0.030, 0.05, -0.25),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "Boombox",
propName = "prop_boombox_01",
itemName = "boombox",
interior = {"lowHouse"},
offset = vector3(0.030, 0.05, -0.25),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "TV",
propName = "prop_tv_03",
itemName = "tv",
interior = {"lowHouse"},
offset = vector3(0.04, 0.35, -0.35),
rotation = vector3(0.0, 250.0, -165.0)
},
{
name = "Console",
propName = "prop_console_01",
itemName = "console",
interior = {"lowHouse"},
offset = vector3(0.060, 0.05, -0.22),
rotation = vector3(100.0, 260.0, -165.0)
},
{
name = "Coffee Machine",
propName = "prop_coffee_mac_02",
itemName = "coffee_machine",
interior = {"midLowHouse"},
offset = vector3(0.02, 0.10, -0.20),
rotation = vector3(0.0, -380.0, -100.0)
},
{
name = "Flat TV",
propName = "prop_tv_flat_01",
itemName = "flat_tv",
interior = {"midLowHouse"},
offset = vector3(0.030, 0.05, -0.25),
rotation = vector3(0.0, 250.0, -165.0)
},
},
SafeChance = 4,
SafeItems = {
[1] = {
items = {
{itemName = "tenkgoldchain", quantity = 1},
},
},
[2] = {
items = {
{itemName = "goldchain", quantity = math.random(1, 2)},
},
},
[3] = {
items = {
{itemName = "diamond_ring", quantity = math.random(1, 2)},
},
},
[4] = {
items = {
{itemName = "rolex", quantity = math.random(1, 2)},
},
},
[5] = {
items = {
{itemName = "diamond", quantity = math.random(1, 2)},
{itemName = "goldbar", quantity = 1},
},
},
},
}
PRICES = {
items = {
{name = 'telescope', price = 100},
{name = 'microwave', price = 150},
{name = 'laptop', price = 125},
{name = 'keyboard', price = 50},
{name = 'printer', price = 150},
{name = 'toaster', price = 75},
{name = 'tenkgoldchain', price = 1000},
{name = 'goldchain', price = 500},
{name = 'diamond_ring', price = 1500},
{name = 'rolex', price = 750},
{name = 'diamond', price = 10000},
{name = 'goldbar', price = 100000},
},
}
SETTINGS = {
framework = 'qb-core', -- Compatible with -> 'qb-core' and 'esx'.
notifications = 'qb-core', -- Compatible with -> 'qb-core', 'esx' and 'custom'.
inventory = 'qb-inventory', -- Compatible with -> 'qb-inventory', 'esx' or 'ox_inventory'.
textUI = 'bx_textui', -- Compatible with -> 'bx_textui', 'qb-core' and 'custom'.
skillMinigame = 'qb-minigames', -- Compatible with -> 'qb-minigames' and 'ox_lib'.
skillbarDifficulty = 'easy', -- Compatible with -> 'easy' and 'medium'.
cooldown = 1, -- Cooldown in hours to do the next house robbery.
propsQuantityToRob = 4, -- The quantity of props that you can rob inside the house.
searchPointsQuantityToRob = 4, -- The quantity of points to search where you can rob inside the house.
changeSellNPCLocation = 2 * 60 * 1000, -- Every 2 minutes the sell NPC will change the coords.
cooldownToRob = 30 * 60 * 1000, -- If the player didn't rob the house in 30 mins, the mission will be canceled.
lockpickStrength = 0.5, -- Strength of the lockpick.
lockpickDefaultDifficulty = 2, --The default difficulty of the lockpick.
lockpickDefaultPinAmount = math.random(4, 6), -- The default amount of pins for the lockpick.
lockpickItemName = 'horquilla', -- The name of the lockpick item to display
removeLockpick = true, -- If true, the lockpick will be removed from the inventory, if false, it will not remove if you lose the minigame.
safeCrackingAnimDict = 'mini@safe_cracking', -- Animation dict of Safe Cracking.
safeCrackingAnim = 'dial_turn_anti_fast_1', -- Animation of Safe Cracking.
forceDoorAnimDict = 'anim_heist@hs4f@ig14_open_car_trunk@male@', -- Animation dict of forcing the door.
forceDoorAnim = 'open_trunk_rushed', -- Animation of forcing the door.
carryingPropAnimDict = 'anim@heists@box_carry@', -- Animation dict of carrying prop.
carryingPropAnim = 'idle', -- Animation of carrying prop.
safePropName = 'prop_ld_int_safe_01', -- Prop name of the Safe.
robPropAnimDict = 'mp_common_heist', -- Rob prop animation dict.
robPropAnim = 'use_terminal_loop', -- Rob prop animation.
npcModel = 'a_m_m_socenlat_01', -- NPC model name.
sellNPCModel = 's_m_m_cntrybar_01', -- Sell NPC model name.
blipSprite = 40, -- The sprite of the blip.
blipScale = 0.6, -- The scale of the blip.
blipColor = 29, -- The color of the blip.
blipRouteColor = 29, -- The color of the blip route.
}
TRANSLATIONS = {
["cooldownMessage"] = "¡Lo siento! Vuelve en %d horas y %d minutos.",
["noItemName"] = "No se pudo identificar el objeto.",
["notCarryingItemsToStore"] = "No estás llevando ningún objeto para guardar.",
["doorOpen"] = "¡Puerta abierta!",
["needToolsToOpen"] = "Necesitas una horquilla para intentar abrir esta puerta.",
["missionEnded"] = "La misión ha terminado.",
["missionFailed"] = "La misión ha fallado.",
["safeOpened"] = "¡Has abierto la caja fuerte!",
["houseRegistered"] = "Todos los cajones han sido registrados.",
["houseFullyRobbed"] = "Todos los objetos han sido robados.",
["talkToNPC"] = "Pulsa ~INPUT_PICKUP~ para ~g~hablar~s~ con Brayan",
["noJobToOffer"] = "Ahora mismo no tengo ningún trabajo que ofrecerte.",
["talkToSellNPC"] = "Pulsa ~INPUT_PICKUP~ para ~y~vender~s~ objetos",
["NPCTalkingToSomeone"] = "Ya hay alguien hablando con este señor.",
["youSelledTheItemsFor"] = "Has vendido los objetos por $%d.",
["noItemsToSell"] = "No tienes objetos para vender.",
["forceDoor"] = "[E] Forzar puerta",
["enterHouse"] = "[E] Entrar",
["exitHouse"] = "[E] Salir",
["search"] = "[E] Buscar",
["robProp"] = "[E] Robar ",
["storeInTrunk"] = "[E] Guardar en el maletero",
["openSafe"] = "[E] Abrir caja fuerte",
["selectedHouse"] = "Robo asignado: %s",
["noAvailableHouses"] = "No hay casas disponibles en este momento. Inténtalo más tarde.",
["houseAlarm"] = "¡Ha saltado la alarma de seguridad!",
["youFound"] = "Has encontrado $%d.",
["youFoundItem"] = "Has encontrado un/a %s.",
["cantCarry"] = "No puedes llevar más %s.",
["storedInTrunk"] = "Has guardado %s en el maletero.",
["NPCBusy"] = "El NPC está ocupado con otro jugador.",
["cantRobTheHouse"] = "¡El dueño te ha escuchado entrar a la casa!",
["missionCanceled"] = "Has tardado mucho en realizar el trabajo.",
["noItemsToOpenSafe"] = "No tienes las herramientas para hacer esto.",
["blipText"] = "~r~Casa asignada",
}