Major improvements, see desc

- Fixed selling same vehicle multiple times
- Fixed selling <no> vehicle
- Major security improvements
- Removed buying vehicle for society
- Code cleanup
- Fixed depopping vehicle not working (not respecting network owner)
This commit is contained in:
ElPumpo
2020-02-08 12:36:18 +01:00
parent 5e6cd29ca8
commit 14fbc69357
11 changed files with 371 additions and 523 deletions
+1 -4
View File
@@ -5,9 +5,6 @@ Locales['fr'] = {
['vehicle_belongs'] = 'le véhicule avec la plaque ~y~%s~s~ est désormais à ~b~vous~s~',
['broke_company'] = 'vous n\avez pas assez d\'argent sur le compte de la societé',
['license_missing'] = 'you don\'t have a driver\'s license!',
['purchase_type'] = 'type d\'achat',
['society_type'] = 'societé',
['staff_type'] = 'personnel',
['buy_vehicle_shop'] = 'acheter %s pour $%s?',
['buy_vehicle'] = 'acheter véhicule',
['car_dealer'] = 'concessionnaire',
@@ -18,6 +15,7 @@ Locales['fr'] = {
['depop_vehicle'] = 'rentrer véhicule',
['return_provider'] = 'rendre le véhicule',
['get_rented_vehicles'] = 'véhicules en location',
['no_current_vehicle'] = 'you do not currently have an vehicle displayed',
['invalid_amount'] = 'montant invalide',
['invoice_amount'] = 'montant de la facture',
['no'] = 'non',
@@ -34,7 +32,6 @@ Locales['fr'] = {
['sell_menu'] = 'appuyez sur ~INPUT_CONTEXT~ pour vendre ~y~%s~s~ au prix de ~g~$%s~s~',
['set_vehicle_owner_rent'] = 'attribuer véhicule [Location]',
['set_vehicle_owner_sell'] = 'attribuer véhicule [Vente]',
['set_vehicle_owner_sell_society'] = 'attribuer véhicule [Vente] [Société]',
['shop_menu'] = 'appuyez sur ~INPUT_CONTEXT~ pour accéder au menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'concessionnaire - Véhicules',