Open justchowie opened 1 month ago
You'll need to provide more details. I can't start debugging based on just that information.
It's like this.
Okay, can you send your elevator file ?
Config.Elevators = {
["Mission Row 1"] = {
restricted = {"police"}, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "-1",
label = "Basement",
panel = vector4(466.2058, -989.3521, 26.4086, 255.2912),
position = vector4(464.9991, -988.3671, 25.4086, 270.1111),
},
{
floor = "0",
label = "Ground Floor",
panel = vector4(466.1529, -989.2506, 30.6917, 254.4312),
position = vector4(464.9935, -988.4915, 29.6917, 269.7462),
},
{
floor = "2",
label = "Second Floor",
panel = vector4(466.1516, -989.2521, 40.2098, 256.2130),
position = vector4(465.0004, -988.3897, 39.2099, 270.7040),
},
{
floor = "3",
label = "Roof Access",
panel = vector4(466.1524, -989.2515, 45.2194, 257.7243),
position = vector4(464.9987, -988.4570, 44.2194, 269.2221),
},
}
},
["Mission Row 2"] = {
restricted = {"police"}, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "-1",
label = "Basement",
panel = vector4(466.1584, -986.4126, 26.4086, 255.8239),
position = vector4(465.0447, -985.4966, 25.4086, 268.6794),
},
{
floor = "0",
label = "Ground Floor",
panel = vector4(466.1529, -986.3610, 30.6917, 256.3921),
position = vector4(465.0176, -985.5021, 29.6917, 273.9777),
},
{
floor = "2",
label = "Second Floor",
panel = vector4(466.1516, -986.3600, 40.2100, 249.4893),
position = vector4(464.9067, -985.5604, 39.2099, 270.6803),
},
{
floor = "3",
label = "Roof Access",
panel = vector4(465.8723, -986.3448, 45.2193, 234.2754),
position = vector4(464.9999, -985.5204, 44.2193, 276.3316),
},
}
},
["City Hall"] = {
restricted = false, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "1",
label = "Ground Floor",
panel = vector4(333.0893, -1652.9280, 32.5358, 132.5902),
position = vector4(334.4912, -1652.7167, 31.5358, 143.0755),
},
{
floor = "2",
label = "2nd Floor",
panel = vector4(333.0536, -1652.9603, 38.5013, 132.3556),
position = vector4(334.4125, -1652.8076, 38.4013, 139.8736),
},
{
floor = "3",
label = "3rd Floor",
panel = vector4(333.0941, -1652.9178, 47.2462, 127.7101),
position = vector4(334.4067, -1652.8397, 46.2462, 138.1382),
},
{
floor = "4",
label = "4th Floor",
panel = vector4(333.1003, -1652.9231, 54.5965, 122.4579),
position = vector4(334.5233, -1652.8535, 53.5965, 138.5929),
},
}
},
["Central Hospital 1"] = {
restricted = {"ambulance"}, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "1",
label = "Hospital Lobby",
panel = vector4(358.7052, -1413.5500, 32.4292, 139.9419),
position = vector4(358.1468, -1413.0737, 31.4292, 315.7281),
},
{
floor = "4",
label = "Rooftop Access",
panel = vector4(334.5753, -1431.1901, 46.5125, 321.2227),
position = vector4(335.0037, -1432.2837, 45.5136, 133.5869),
}
}
},
["Central Hospital 2"] = {
restricted = false, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "1",
label = "Hospital Lobby",
panel = vector4(359.6349, -1409.9545, 32.4292, 340.9696),
position = vector4(360.2546, -1410.4816, 31.4292, 142.7029),
},
{
floor = "2",
label = "Skywalk",
panel = vector4(374.4602, -1386.9388, 39.7410, 142.0085),
position = vector4(374.2429, -1386.1472, 38.7411, 325.6223),
}
}
},
["Downtown"] = {
restricted = false, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = false,
floors = {
{
floor = "GF",
label = "Ground Floor",
panel = vector4(271.6811, -1103.5526, 29.4489, 88.4192),
position = vector4(271.9338, -1102.8379, 28.4489, 270.4795),
},
{
floor = "10",
label = "Rooftop Garden",
panel = vector4(271.6810, -1103.7791, 72.1876, 89.9764),
position = vector4(271.9495, -1102.6932, 71.1876, 277.3435),
}
}
},
["CenHos Parking"] = {
restricted = false, --[[ { ["police"] = 0 } or {"police", "ambulance"} or false to disable ]]
vehicle = true,
floors = {
{
floor = "GF",
label = "GF Parking",
panel = vector4(406.2449, -1348.1682, 31.1484, 136.5145),
position = vector4(406.8012, -1347.5127, 30.0536, 318.1903),
},
{
floor = "1F",
label = "1F Parking",
panel = vector4(406.2321, -1348.1555, 36.0538, 143.1434),
position = vector4(406.6222, -1347.7152, 35.0552, 325.2620),
},
{
floor = "2F",
label = "2F Parking",
panel = vector4(406.3121, -1348.2188, 41.0535, 140.1720),
position = vector4(406.9261, -1347.3651, 41.0535, 319.1383),
},
{
floor = "2",
label = "Skywalk",
panel = vector4(402.7558, -1351.8713, 39.7410, 317.8782),
position = vector4(402.4103, -1352.3945, 38.7410, 136.3935),
}
}
},
}
I'm unable to reproduce the error. I was using a clean install of qb-target in standalone.
https://github.com/user-attachments/assets/a86ea639-7d82-4c72-ab68-6b02ebb7bae0
After the first teleport, we can't seem to interact with the panel.
Let's say I use panel 1F to go to 2F, I won't be able to use the panel in 2F to either go back or go to another floor.