Skip to content

Commit

Permalink
Merge pull request #76 from kylemcshea/remove-unused-toggleMuis-event
Browse files Browse the repository at this point in the history
Remove unused toggle muis event
  • Loading branch information
GhzGarage authored Jan 8, 2024
2 parents a1b6507 + 9b837fc commit 7ff9d1a
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 27 deletions.
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

0 comments on commit 7ff9d1a

Please sign in to comment.