From 3748f19056af5e59ec81623e90e71270d14e4a99 Mon Sep 17 00:00:00 2001 From: SKITTLE <92496158+SKITTLE6969@users.noreply.github.com> Date: Sun, 30 Apr 2023 00:11:07 +0530 Subject: [PATCH 1/6] Update vehicles.lua --- shared/vehicles.lua | 98 ++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/shared/vehicles.lua b/shared/vehicles.lua index 7e1cb2d..c9a81a5 100644 --- a/shared/vehicles.lua +++ b/shared/vehicles.lua @@ -7,7 +7,7 @@ QBShared.Vehicles = { ['brand'] = 'Maxwell', -- This is the vehicle's brand (Ford, Chevrolet, BMW, Mercedes, etc) ['model'] = 'asbo', -- This must match the spawn code of the vehicle ['price'] = 4000, -- The price that the vehicle sells for - ['category'] = 'compacts', -- This must match "VehicleClass" in vehicles.meta for the vehicle and must also exist in https://docs.fivem.net/natives/?_0x29439776AAA00A62 + ['category'] = 'compacts', -- This must match 'VehicleClass' in vehicles.meta for the vehicle and must also exist in https://docs.fivem.net/natives/?_0x29439776AAA00A62 ['categoryLabel'] = 'Compacts', -- Customize for your Vehicle Shop headings (can even include spaces) ['hash'] = `asbo`, -- This has to match the spawn code of the vehicle and must be surrounded by backticks. Example of a Backtick: ` ['shop'] = 'pdm', -- Can be a single shop or multiple shops. For multiple shops for example {'shopname1','shopname2','shopname3'} @@ -1599,10 +1599,10 @@ QBShared.Vehicles = { ['yosemite3'] = { ['name'] = 'Yosemite Rancher', ['brand'] = 'Declasse', + ['model'] = 'yosemite3', ['price'] = 425000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'yosemite3', ['hash'] = `yosemite3`, ['shop'] = 'pdm', }, @@ -1620,30 +1620,30 @@ QBShared.Vehicles = { ['bfinjection'] = { ['name'] = 'Bf Injection', ['brand'] = 'Annis', + ['model'] = 'bfinjection', ['price'] = 9000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'bfinjection', ['hash'] = `bfinjection`, ['shop'] = 'pdm', }, ['bifta'] = { ['name'] = 'Bifta', ['brand'] = 'Annis', + ['model'] = 'bifta', ['price'] = 15500, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'bifta', ['hash'] = `bifta`, ['shop'] = 'pdm', }, ['blazer'] = { ['name'] = 'Blazer', ['brand'] = 'Annis', + ['model'] = 'blazer', ['price'] = 7500, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'blazer', ['hash'] = `blazer`, ['shop'] = 'pdm', }, @@ -1670,10 +1670,10 @@ QBShared.Vehicles = { ['blazer4'] = { ['name'] = 'Blazer Sport', ['brand'] = 'Annis', + ['model'] = 'blazer4', ['price'] = 9250, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'blazer4', ['hash'] = `blazer4`, ['shop'] = 'pdm', }, @@ -1690,10 +1690,10 @@ QBShared.Vehicles = { ['brawler'] = { ['name'] = 'Brawler', ['brand'] = 'Annis', + ['model'] = 'brawler', ['price'] = 40000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'brawler', ['hash'] = `brawler`, ['shop'] = 'pdm', }, @@ -1720,20 +1720,20 @@ QBShared.Vehicles = { ['dubsta3'] = { ['name'] = 'Dubsta 6x6', ['brand'] = 'Annis', + ['model'] = 'dubsta3', ['price'] = 34000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'dubsta3', ['hash'] = `dubsta3`, ['shop'] = 'pdm', }, ['dune'] = { ['name'] = 'Dune Buggy', ['brand'] = 'Annis', + ['model'] = 'dune', ['price'] = 14000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'dune', ['hash'] = `dune`, ['shop'] = 'pdm', }, @@ -1840,70 +1840,70 @@ QBShared.Vehicles = { ['sandking'] = { ['name'] = 'Sandking XL', ['brand'] = 'Vapid', + ['model'] = 'sandking', ['price'] = 25000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'sandking', ['hash'] = `sandking`, ['shop'] = 'pdm', }, ['sandking2'] = { ['name'] = 'Sandking SWB', ['brand'] = 'Vapid', + ['model'] = 'sandking2', ['price'] = 38000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'sandking2', ['hash'] = `sandking2`, ['shop'] = 'pdm', }, ['trophytruck'] = { ['name'] = 'Trophy Truck', ['brand'] = 'Vapid', + ['model'] = 'trophytruck', ['price'] = 60000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'trophytruck', ['hash'] = `trophytruck`, ['shop'] = 'pdm', }, ['trophytruck2'] = { ['name'] = 'Desert Raid', ['brand'] = 'Vapid', + ['model'] = 'trophytruck2', ['price'] = 80000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'trophytruck2', ['hash'] = `trophytruck2`, ['shop'] = 'pdm', }, ['vagrant'] = { ['name'] = 'Vagrant', ['brand'] = 'Maxwell', + ['model'] = 'vagrant', ['price'] = 50000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'vagrant', ['hash'] = `vagrant`, ['shop'] = 'pdm', }, ['verus'] = { ['name'] = 'Verus', ['brand'] = 'Dinka', + ['model'] = 'verus', ['price'] = 20000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'verus', ['hash'] = `verus`, ['shop'] = 'pdm', }, ['winky'] = { ['name'] = 'Winky', ['brand'] = 'Vapid', + ['model'] = 'winky', ['price'] = 10000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', - ['model'] = 'winky', ['hash'] = `winky`, ['shop'] = 'pdm', }, @@ -5083,7 +5083,7 @@ QBShared.Vehicles = { ['model'] = 'hauler', ['price'] = 100000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `hauler`, ['shop'] = 'truck', }, @@ -5093,7 +5093,7 @@ QBShared.Vehicles = { ['model'] = 'packer', ['price'] = 100000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `packer`, ['shop'] = 'truck', }, @@ -5103,7 +5103,7 @@ QBShared.Vehicles = { ['model'] = 'stockade', ['price'] = 100000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `stockade`, ['shop'] = 'truck', }, @@ -5113,7 +5113,7 @@ QBShared.Vehicles = { ['model'] = 'biff', ['price'] = 100000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `biff`, ['shop'] = 'truck', }, @@ -5123,7 +5123,7 @@ QBShared.Vehicles = { ['model'] = 'phantom', ['price'] = 100000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `phantom`, ['shop'] = 'truck', }, @@ -5133,7 +5133,7 @@ QBShared.Vehicles = { ['model'] = 'phantom3', ['price'] = 110000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `phantom3`, ['shop'] = 'truck', }, @@ -5143,7 +5143,7 @@ QBShared.Vehicles = { ['model'] = 'benson', ['price'] = 55000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `benson`, ['shop'] = 'truck', }, @@ -5153,7 +5153,7 @@ QBShared.Vehicles = { ['model'] = 'mule', ['price'] = 40000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `mule`, ['shop'] = 'truck', }, @@ -5163,7 +5163,7 @@ QBShared.Vehicles = { ['model'] = 'mule2', ['price'] = 40000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `mule2`, ['shop'] = 'truck', }, @@ -5173,7 +5173,7 @@ QBShared.Vehicles = { ['model'] = 'mule3', ['price'] = 40000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `mule3`, ['shop'] = 'truck', }, @@ -5183,7 +5183,7 @@ QBShared.Vehicles = { ['model'] = 'mule4', ['price'] = 40000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `mule4`, ['shop'] = 'truck', }, @@ -5193,7 +5193,7 @@ QBShared.Vehicles = { ['model'] = 'mule5', ['price'] = 40000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `mule5`, ['shop'] = 'truck', }, @@ -5203,7 +5203,7 @@ QBShared.Vehicles = { ['model'] = 'pounder', ['price'] = 55000, ['category'] = 'commercial', - ["categoryLabel"] = 'Commercial', + ['categoryLabel'] = 'Commercial', ['hash'] = `pounder`, ['shop'] = 'truck', }, @@ -5213,7 +5213,7 @@ QBShared.Vehicles = { ['model'] = 'boxville', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `boxville`, ['shop'] = 'truck', }, @@ -5223,7 +5223,7 @@ QBShared.Vehicles = { ['model'] = 'boxville2', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `boxville2`, ['shop'] = 'truck', }, @@ -5233,7 +5233,7 @@ QBShared.Vehicles = { ['model'] = 'boxville3', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `boxville3`, ['shop'] = 'truck', }, @@ -5243,7 +5243,7 @@ QBShared.Vehicles = { ['model'] = 'boxville4', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `boxville4`, ['shop'] = 'truck', }, @@ -5253,7 +5253,7 @@ QBShared.Vehicles = { ['model'] = 'boxville5', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `boxville5`, ['shop'] = 'truck', }, @@ -5263,7 +5263,7 @@ QBShared.Vehicles = { ['model'] = 'pony', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `pony`, ['shop'] = 'truck', }, @@ -5273,7 +5273,7 @@ QBShared.Vehicles = { ['model'] = 'pony2', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Vans', + ['categoryLabel'] = 'Vans', ['hash'] = `pony2`, ['shop'] = 'truck', }, @@ -5283,7 +5283,7 @@ QBShared.Vehicles = { ['model'] = 'taco', ['price'] = 45000, ['category'] = 'vans', - ["categoryLabel"] = 'Food Truck', + ['categoryLabel'] = 'Food Truck', ['hash'] = `taco`, ['shop'] = 'truck', }, @@ -5293,7 +5293,7 @@ QBShared.Vehicles = { ['model'] = 'cutter', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `cutter`, ['shop'] = 'truck', }, @@ -5303,7 +5303,7 @@ QBShared.Vehicles = { ['model'] = 'handler', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `handler`, ['shop'] = 'truck', }, @@ -5313,7 +5313,7 @@ QBShared.Vehicles = { ['model'] = 'bulldozer', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `bulldozer`, ['shop'] = 'truck', }, @@ -5323,7 +5323,7 @@ QBShared.Vehicles = { ['model'] = 'dump', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `dump`, ['shop'] = 'truck', }, @@ -5333,7 +5333,7 @@ QBShared.Vehicles = { ['model'] = 'flatbed', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `flatbed`, ['shop'] = 'truck', }, @@ -5343,7 +5343,7 @@ QBShared.Vehicles = { ['model'] = 'guardian', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `guardian`, ['shop'] = 'truck', }, @@ -5353,7 +5353,7 @@ QBShared.Vehicles = { ['model'] = 'mixer', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `mixer`, ['shop'] = 'truck', }, @@ -5363,7 +5363,7 @@ QBShared.Vehicles = { ['model'] = 'mixer2', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `mixer2`, ['shop'] = 'truck', }, @@ -5373,7 +5373,7 @@ QBShared.Vehicles = { ['model'] = 'rubble', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `rubble`, ['shop'] = 'truck', }, @@ -5383,7 +5383,7 @@ QBShared.Vehicles = { ['model'] = 'tiptruck', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `tiptruck`, ['shop'] = 'truck', }, @@ -5393,7 +5393,7 @@ QBShared.Vehicles = { ['model'] = 'tiptruck2', ['price'] = 30000, ['category'] = 'industrial', - ["categoryLabel"] = 'Industrial', + ['categoryLabel'] = 'Industrial', ['hash'] = `tiptruck2`, ['shop'] = 'truck', }, @@ -5547,4 +5547,4 @@ QBShared.Vehicles = { ['hash'] = `virtue`, ['shop'] = 'luxury', }, -} \ No newline at end of file +} From dba9a3376825b7986fb6b27cf6f73c49e0c0ff58 Mon Sep 17 00:00:00 2001 From: SKITTLE <92496158+SKITTLE6969@users.noreply.github.com> Date: Sun, 30 Apr 2023 00:39:54 +0530 Subject: [PATCH 2/6] Update vehicles.lua --- shared/vehicles.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/vehicles.lua b/shared/vehicles.lua index c9a81a5..aac741a 100644 --- a/shared/vehicles.lua +++ b/shared/vehicles.lua @@ -1720,7 +1720,7 @@ QBShared.Vehicles = { ['dubsta3'] = { ['name'] = 'Dubsta 6x6', ['brand'] = 'Annis', - ['model'] = 'dubsta3', + ['model'] = 'dubsta3', ['price'] = 34000, ['category'] = 'offroad', ['categoryLabel'] = 'Off Road', From 808abec879437c6537248bca9094ce25fe6df8d8 Mon Sep 17 00:00:00 2001 From: Lazaros Psarokostas Date: Tue, 2 May 2023 22:01:25 +0300 Subject: [PATCH 3/6] greek translations --- locale/el.lua | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 locale/el.lua diff --git a/locale/el.lua b/locale/el.lua new file mode 100644 index 0000000..caf6085 --- /dev/null +++ b/locale/el.lua @@ -0,0 +1,126 @@ +local Translations = { + error = { + not_online = 'Ο παίκτης δεν είναι online', + wrong_format = 'Λανθασμένη μορφοποίηση', + missing_args = 'Δεν έχουν δωθεί όλοι οι παράμετροι (x, y, z)', + missing_args2 = 'Όλοι οι παράμετροι πρέπει να συμπληρωθούν!', + no_access = 'Δεν έχεις πρόσβαση σε αυτή την εντολή', + company_too_poor = 'Ο εργοδώτης σου, πτώχευσε', + item_not_exist = 'Δεν υπάρχει αυτό το αντικείμενο', + too_heavy = 'Πολύ βαρύ σακαίδιο', + location_not_exist = 'Δεν υπάρχει αυτή η τοποθεσία', + duplicate_license = 'Βρέθηκε διπλή Rockstar Άδεια χρήσης', + no_valid_license = 'Μη έγκυρη Rockstar Άδεια χρήσης', + not_whitelisted = 'Δεν είναι προσκεκλημένος σε αυτό το server', + server_already_open = 'Αυτός ο server έχει ήδη ανοίξει', + server_already_closed = 'Αυτός ο server έχει ήδη κλείσει', + no_permission = 'Δεν έχεις άδεια για αυτό..', + no_waypoint = 'Δεν ορίστικε προορισμός.', + tp_error = 'Πρόβλημα καθώς μεταφερώσουν.', + connecting_database_error = 'Πρόβλημα στην σύνδεση της βάσης δεδομένων. (Είναι ενεργός ο SQL server?)', + connecting_database_timeout = 'Έληξε ο χρόνος σύνδεσης της βάσης δεδοομένων. (Είναι ενεργός ο SQL server?)', + }, + success = { + server_opened = 'Αυτός ο server έχει ανοίξει', + server_closed = 'Αυτός ο server έχει κλείσει', + teleported_waypoint = 'Τηλεμεταφέρθηκες στο σημείο.', + }, + info = { + received_paycheck = 'Έχεις λάβει πληρωμή, τάξεως $%{value}', + job_info = 'Εργασία: %{value} | Βαθμός: %{value2} | Καθήκων: %{value3}', + gang_info = 'Συμμορία: %{value} | Βαθμός: %{value2}', + on_duty = 'Τώρα είσαι σε υπηρεσία!', + off_duty = 'Τώρα είσαι εκτώς υπηρεσίας!', + checking_ban = 'Γειά %s. Ελέγχουμε εάν έχεις αποκλειστεί.', + join_server = 'Καλως ήρθες %s στο {Server Name}.', + checking_whitelisted = 'Γειά %s. Ελέγχουμε εάν έχεις προσκληθεί.', + exploit_banned = 'Έχεις αποκλειστεί για αντικανονικό παιχνίδι. Έλεγξε το Discord μας για παραπάνω λεπτομέριες: %{discord}', + exploit_dropped = 'Έχεις εκδιωχθεί για αντικανονικό παιχνίδι.', + }, + command = { + tp = { + help = 'Τηλεμεταφορά σε παίκτη ή συντεταγμένες (Admin Μόνο)', + params = { + x = { name = 'id/x', help = 'ID του παίκτη ή X θέση'}, + y = { name = 'y', help = 'Y θέση' }, + z = { name = 'z', help = 'Z θέση' }, + }, + }, + tpm = { help = 'Τηλεμεταφορά σε Marker (Admin Μόνο)' }, + togglepvp = { help = 'Ενεργοποίησε το PVP στον server (Admin Μόνο)' }, + addpermission = { + help = 'Δώσε πρόσβαση στον παίκτη (God Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + permission = { name = 'permission', help = 'Επίπεδο πρόσβασης' }, + }, + }, + removepermission = { + help = 'Αφαίρεση πρόσβασης παίκτη (God Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + permission = { name = 'permission', help = 'Επίπεδο πρόσβασης' }, + }, + }, + openserver = { help = 'Άνοιξε τον server για όλους (Admin Μόνο)' }, + closeserver = { + help = 'Κλείσε τον server για άτομα μη εξουσιοδωτημένα. (Admin Μόνο)', + params = { + reason = { name = 'reason', help = 'Λόγος κλεισίματος (προεραιτικό)' }, + }, + }, + car = { + help = 'Δημιουργία οχήματος (Admin Μόνο)', + params = { + model = { name = 'model', help = 'Model name of the vehicle' }, + }, + }, + dv = { help = 'Σβήσιμο οχήματος (Admin Μόνο)' }, + givemoney = { + help = 'Δώσε χρήματα σε έναν παίκτη (Admin Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + moneytype = { name = 'moneytype', help = 'Τύπος χρήματος (μετρητά, τράπεζα, crypto)' }, + amount = { name = 'amount', help = 'Ποσό χρημάτων' }, + }, + }, + setmoney = { + help = 'Set Players Money Amount (Admin Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + moneytype = { name = 'moneytype', help = 'Τύπος χρήματος (μετρητά, τράπεζα, crypto)' }, + amount = { name = 'amount', help = 'Ποσό χρημάτων' }, + }, + }, + job = { help = 'Check Your Job' }, + setjob = { + help = 'Set A Players Job (Admin Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + job = { name = 'job', help = 'Όνομα εργασίας' }, + grade = { name = 'grade', help = 'Βαθμός εργασίας' }, + }, + }, + gang = { help = 'Έλεγξε την συμμορία σου' }, + setgang = { + help = 'Όρισε σε έναν παίκτη μια συμμορία (Admin Μόνο)', + params = { + id = { name = 'id', help = 'ID του παίκτη' }, + gang = { name = 'gang', help = 'Όνομα συμμορίας' }, + grade = { name = 'grade', help = 'Βαθμός συμμορίας' }, + }, + }, + ooc = { help = 'OOC Μήνυμα Συνομιλίας' }, + me = { + help = 'Προβολή τοπικού μηνύματος', + params = { + message = { name = 'message', help = 'Μήνυμα προς αποστολή' } + }, + }, + }, +} + +Lang = Lang or Locale:new({ + phrases = Translations, + warnOnMissing = true +}) From 99a90ebd5ed50e625cf62e30596fb50bd8173ea7 Mon Sep 17 00:00:00 2001 From: FjamZoo <34508112+FjamZoo@users.noreply.github.com> Date: Wed, 17 May 2023 15:57:10 +0200 Subject: [PATCH 4/6] feat(server/events): Trigger server event on player Duty update --- server/events.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/events.lua b/server/events.lua index 2722bdd..1c64c55 100644 --- a/server/events.lua +++ b/server/events.lua @@ -179,6 +179,8 @@ RegisterNetEvent('QBCore:ToggleDuty', function() Player.Functions.SetJobDuty(true) TriggerClientEvent('QBCore:Notify', src, Lang:t('info.on_duty')) end + + TriggerEvent('QBCore:Server:SetDuty', src, Player.PlayerData.job.onduty) TriggerClientEvent('QBCore:Client:SetDuty', src, Player.PlayerData.job.onduty) end) From 559deb0f8ab7223e3dcbd29f9472b74caf6bf2b5 Mon Sep 17 00:00:00 2001 From: Tozy Fullbuster <114842493+TozyF@users.noreply.github.com> Date: Fri, 26 May 2023 07:25:46 +0000 Subject: [PATCH 5/6] feat(locale): update Vietnamese translations --- locale/vn.lua | 109 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 105 insertions(+), 4 deletions(-) diff --git a/locale/vn.lua b/locale/vn.lua index e148a4c..507ef1b 100644 --- a/locale/vn.lua +++ b/locale/vn.lua @@ -7,16 +7,117 @@ local Translations = { no_access = 'không có quyền sử dụng lệnh này', company_too_poor = 'Công ty của bạn đã phá sản', item_not_exist = 'Vật phẩm không tồn tại', - too_heavy = 'kho đồ đã đầy' + too_heavy = 'kho đồ đã đầy', + location_not_exist = 'Vị trí không tồn tại', + duplicate_license = 'Đã tìm thấy giấy phép Rockstar trùng lặp', + no_valid_license = 'Không tìm thấy giấy phép Rockstar hợp lệ', + not_whitelisted = 'Bạn không nằm trong danh sách cho phép của máy chủ này', + server_already_open = 'Máy chủ đã mở cửa', + server_already_closed = 'Máy chủ đã đóng cửa', + no_permission = 'Bạn không có quyền để làm việc này', + no_waypoint = 'Không có Waypoint nào được đặt.', + tp_error = 'Lỗi trong lúc dịch chuyển.', + connecting_database_error = 'Đã xảy ra lỗi trong lúc kết nối đến máy chủ CSDL. (Máy chủ SQL đã mở?)', + connecting_database_timeout = 'Đã hết thời gian kết nối tới CSDL. (Máy chủ SQL đã mở?)', + }, + success = { + server_opened = 'Đã mở máy chủ', + server_closed = 'Đã đóng máy chủ', + teleported_waypoint = 'Đã dịch chuyển tới Waypoint.', }, - success = {}, info = { received_paycheck = 'Bạn nhận được số tiền thanh toán là $%{value}', job_info = 'Công việc: %{value} | Cấp độ: %{value2} | Làm việc: %{value3}', gang_info = 'Băng đảng: %{value} | Cấp độ: %{value2}', on_duty = 'Bạn đã sẵn sàng làm viêc!', - off_duty = 'Bạn đã dừng làm việc!' - } + off_duty = 'Bạn đã dừng làm việc!', + checking_ban = 'Xin chào %s. Chúng tôi đang kiểm tra xem bạn có bị cấm không.', + join_server = 'Chào mừng %s đã đến với {Server Name}.', + checking_whitelisted = 'Xin chào %s. Chúng tôi đang kiểm tra trợ cấp của bạn.', + exploit_banned = 'Bạn đã bị cấm vì gian lận. Kiểm tra Discord của chúng tôi để biết thêm thông tin: %{discord}', + exploit_dropped = 'Bạn đã bị đá vì lợi dụng lỗi', + }, + command = { + tp = { + help = 'Dịch chuyển đến Người chơi hoặc Tọa độ (Admin)', + params = { + x = { name = 'id/x', help = 'ID người chơi hoặc Tọa độ X'}, + y = { name = 'y', help = 'Tọa độ Y'}, + z = { name = 'z', help = 'Tọa độ Z'}, + }, + }, + tpm = { help = 'Dịch chuyển đến điểm Đánh dấu (Admin)' }, + togglepvp = { help = 'Bật/Tắt PVP trên máy chủ (Admin)' }, + addpermission = { + help = 'Thêm quyền cho người chơi (God)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + permission = { name = 'permission', help = 'Cấp độ quyền' }, + }, + }, + removepermission = { + help = 'Xóa quyền của người chơi (God)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + permission = { name = 'permission', help = 'Cấp độ quyền' }, + }, + }, + openserver = { help = 'Mở cửa máy chủ (Admin)' }, + closeserver = { + help = 'Đóng máy chủ, chỉ cho phép người chơi có quyền mới được tham gia (Admin)', + params = { + reason = { name = 'reason', help = 'Lý do đóng máy chủ (tùy chọn)' }, + }, + }, + car = { + help = 'Triệu hồi phương tiện (Admin)', + params = { + model = { name = 'model', help = 'Tên kiểu phương tiện' }, + }, + }, + dv = { help = 'Xóa phương tiện (Admin)' }, + givemoney = { + help = 'Cho tiền người chơi (Admin)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + moneytype = { name = 'moneytype', help = 'Loại tiền (cash, bank, crypto)' }, + amount = { name = 'amount', help = 'Số tiền' }, + }, + }, + setmoney = { + help = 'Đặt số tiền của người chơi (Admin)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + moneytype = { name = 'moneytype', help = 'Loại tiền (cash, bank, crypto)' }, + amount = { name = 'amount', help = 'Số tiền' }, + }, + }, + job = { help = 'Kiểm tra công việc của bạn' }, + setjob = { + help = 'Đặt công việc cho ngưởi chơi (Admin)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + job = { name = 'job', help = 'Tên công việc' }, + grade = { name = 'grade', help = 'Cấp độ công việc' }, + }, + }, + gang = { help = 'Kiểm tra băng đảng của bạn' }, + setgang = { + help = 'Chỉ định băng đảng cho người chơi (Admin)', + params = { + id = { name = 'id', help = 'ID người chơi' }, + gang = { name = 'gang', help = 'Tên băng đảng' }, + grade = { name = 'grade', help = 'Cấp độ chức vụ' }, + }, + }, + ooc = { help = 'Tin nhắn trò chuyện OOC' }, + me = { + help = 'Hiển thị tin nhắn cục bộ', + params = { + message = { name = 'message', help = 'Tin nhắn để gửi' } + }, + }, + }, } if GetConvar('qb_locale', 'en') == 'vn' then From 1a1640a56da5223adfbcbee34b649aab502a75ba Mon Sep 17 00:00:00 2001 From: Kakarot <57848836+GhzGarage@users.noreply.github.com> Date: Sun, 28 May 2023 18:37:55 -0500 Subject: [PATCH 6/6] Update notify Changed styling and icons, updated cdn's --- config.lua | 6 +++--- html/css/style.css | 35 +++++++++++++++-------------------- html/index.html | 6 +++--- 3 files changed, 21 insertions(+), 26 deletions(-) diff --git a/config.lua b/config.lua index c3d9a19..0be136a 100644 --- a/config.lua +++ b/config.lua @@ -46,15 +46,15 @@ QBConfig.Notify.NotificationStyling = { QBConfig.Notify.VariantDefinitions = { success = { classes = 'success', - icon = 'done' + icon = 'task_alt' }, primary = { classes = 'primary', - icon = 'info' + icon = 'notifications' }, error = { classes = 'error', - icon = 'dangerous' + icon = 'warning' }, police = { classes = 'police', diff --git a/html/css/style.css b/html/css/style.css index 357b04e..881cd00 100644 --- a/html/css/style.css +++ b/html/css/style.css @@ -46,36 +46,31 @@ html::-webkit-scrollbar { } .success { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 0.5rem solid #20bb44; + background-color: #20bb44; + border-radius: 5px; + border: 1px solid #6ae587; } .primary { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #1c75d2; + background-color: #1c75d2; + border-radius: 5px; + border: 1px solid #6facec; } .error { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #c10114; + background-color: #c10114; + border-radius: 5px; + border: 1px solid #fe4255; } .police { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #2197f2; + background-color: #2197f2; + border-radius: 5px; + border: 1px solid #7ac1f7; } .ambulance { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #f44236; + background-color: #f44236; + border-radius: 5px; + border: 1px solid #f88e86; } \ No newline at end of file diff --git a/html/index.html b/html/index.html index ee1875f..801f533 100644 --- a/html/index.html +++ b/html/index.html @@ -1,12 +1,12 @@ - - + + - +