Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused toggle muis event #76

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -521,18 +521,6 @@ RegisterNetEvent('qb-taxi:client:enableMeter', function()
end
end)

RegisterNetEvent('qb-taxi:client:toggleMuis', function()
Wait(400)
if meterIsOpen then
if not mouseActive then
SetNuiFocus(true, true)
mouseActive = true
end
else
QBCore.Functions.Notify(Lang:t('error.no_meter_sight'), 'error')
end
end)

-- NUI Callbacks

RegisterNUICallback('enableMeter', function(data, cb)
Expand Down
1 change: 0 additions & 1 deletion locales/ar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "هذه السيارة لا تحتوي على عداد سيارات الأجرة",
["no_vehicle"] = "أنت لست في سيارة",
["not_active_meter"] = "عداد سيارة الأجرة غير نشط",
["no_meter_sight"] = "لا يوجد عداد سيارات الأجرة في الأفق",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/da.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Dette køretøj har intet taxameter",
["no_vehicle"] = "Du er ikke i et køretøj",
["not_active_meter"] = "Taxameteret er ikke aktivt",
["no_meter_sight"] = "Intet taxameter at se",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Dieses Fahrzeug hat keine Taxameter",
["no_vehicle"] = "Sie sind nicht in einem Fahrzeug",
["not_active_meter"] = "Das Taxameter ist nicht aktiv",
["no_meter_sight"] = "Kein Taxameter in Sicht",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "This Vehicle Has No Taxi Meter",
["no_vehicle"] = "You're not in a vehicle",
["not_active_meter"] = "The Taxi Meter Is Not Active",
["no_meter_sight"] = "No Taxi Meter In Sight",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Este vehículo no tiene taxímetro",
["no_vehicle"] = "No estás en un vehículo",
["not_active_meter"] = "El taxímetro no está activo",
["no_meter_sight"] = "No hay taxímetro visible",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/fa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Dar In Vasile Nagliye Taxi Meter Mojud Nist",
["no_vehicle"] = "Shoma Dar Vasile Nagliye Nist",
["not_active_meter"] = "Taxi Meter Faal Nist",
["no_meter_sight"] = "Taxi Meter Dar Maraze Did Nist",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/fi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Ajoneuvossa ei ole taksimittaria",
["no_vehicle"] = "Et ole ajoneuvossa!",
["not_active_meter"] = "Taksimittari ei ole aktiivinen",
["no_meter_sight"] = "Ei taksimittaria nähtävissä",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Ce véhicule n'a pas de taximètre",
["no_vehicle"] = "Vous n\'êtes pas dans un véhicule",
["not_active_meter"] = "Le taximètre n\'est pas activé",
["no_meter_sight"] = "Pas de taximètre en vue",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Questo veicolo non ha un tassametro",
["no_vehicle"] = "Non sei in un veicolo",
["not_active_meter"] = "Il tassametro non è acceso",
["no_meter_sight"] = "Nessun tassametro visibile",
["no_mission_active"] = "Non hai tratte da annullare"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Dit voertuig heeft geen taximeter",
["no_vehicle"] = "Je zit niet in een voertuig",
["not_active_meter"] = "De taximeter is niet actief",
["no_meter_sight"] = "Geen taximeter in zicht",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/pt-br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Este veículo não possui taxímetro",
["no_vehicle"] = "Você não está em um veículo",
["not_active_meter"] = "O taxímetro não está ativo",
["no_meter_sight"] = "Nenhum taxímetro à vista",
},
success = {},
info = {
Expand Down
1 change: 0 additions & 1 deletion locales/pt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Este veículo não possui um taxímetro",
["no_vehicle"] = "Não estás num veículo",
["not_active_meter"] = "O taxímetro não se encontra activo",
["no_meter_sight"] = "Nenhum taxímetro à vista",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Det här fordonet har ingen taxameter",
["no_vehicle"] = "Du är inte i ett fordon",
["not_active_meter"] = "Taxametern är inte aktiv",
["no_meter_sight"] = "Ingen Taxameter i sikte",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/th.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "รถคันนี้ไม่มีมิเตอร์แท็กซี่",
["no_vehicle"] = "คุณไม่ได้อยู่ในยานพาหนะ",
["not_active_meter"] = "มิเตอร์แท็กซี่ไม่ทำงาน",
["no_meter_sight"] = "ไม่มีมิเตอร์แท็กซี่ในระยะสายตา",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
1 change: 0 additions & 1 deletion locales/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local Translations = {
["missing_meter"] = "Bu Aracın Taksimetresi Yok",
["no_vehicle"] = "Bir araçta değilsin",
["not_active_meter"] = "Taksimetre Aktif Değil",
["no_meter_sight"] = "Görünürde Taksimetre Yok",
["no_mission_active"] = "You dont have any mission to cancel"
},
success = {
Expand Down
Loading