diff --git a/README.md b/README.md index 72f35038..847aea6c 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,40 @@ -# fxserver-esx_realestateagentjob -FXServer ESX RealestateAgent Job +# esx_realestateagentjob -[REQUIREMENTS] +## Requirements +- [esx_addonaccount](https://github.com/ESX-Org/esx_addonaccount) +- [esx_property](https://github.com/ESX-Org/esx_property) +- [esx_society](https://github.com/ESX-Org/esx_society) -- esx_addonaccount => https://github.com/FXServer-ESX/fxserver-esx_society -- esx_property => https://github.com/FXServer-ESX/fxserver-esx_property -- (optionnal) esx_society => https://github.com/FXServer-ESX/fxserver-esx_society +## Download & Installation -If you add esx_society you will see the realestateagent account money in the HUD if your grade is 'boss' - -[INSTALLATION] - -1) CD in your resources/[esx] folder -2) Clone the repository +### Using [fvm](https://github.com/qlaffont/fvm-installer) ``` -git clone https://github.com/FXServer-ESX/fxserver-esx_realestateagentjob esx_realestateagentjob +fvm install --save --folder=esx esx-org/esx_realestateagentjob ``` -3) Import esx_realestateagentjob.sql in your database -4) Add this in your server.cfg : +### Using Git ``` -start esx_realestateagentjob +cd resources +git clone https://github.com/ESX-Org/esx_realestateagentjob [esx]/esx_realestateagentjob ``` -5) Set Config.EnablePlayerManagement to true in esx_property/config.lua + +### Manually +- Download https://github.com/ESX-Org/esx_realestateagentjob/archive/master.zip +- Put it in the `[esx]` directory + +## Installation +- Add `start esx_realestateagentjob` to your `server.cfg` +- Import `esx_realestateagentjob.sql` in your database +- Set `Config.EnablePlayerManagement` to `true` in esx_property + +# Legal +### License +esx_realestateagentjob - real estate job + +Copyright (C) 2015-2018 Jérémie N'gadi + +This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version. + +This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details. + +You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/. \ No newline at end of file diff --git a/__resource.lua b/__resource.lua index 9d76ed33..32238286 100644 --- a/__resource.lua +++ b/__resource.lua @@ -1,28 +1,37 @@ resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' -description 'ESX RealestateAgentJob' +description 'ESX Real estate job' version '1.0.0' server_scripts { - '@es_extended/locale.lua', - 'locales/de.lua', - 'locales/br.lua', - 'locales/en.lua', - 'locales/fi.lua', - 'locales/fr.lua', - '@mysql-async/lib/MySQL.lua', - 'config.lua', - 'server/main.lua' + '@es_extended/locale.lua', + '@mysql-async/lib/MySQL.lua', + 'locales/de.lua', + 'locales/br.lua', + 'locales/en.lua', + 'locales/fi.lua', + 'locales/fr.lua', + 'locales/sv.lua', + 'config.lua', + 'server/main.lua' } client_scripts { - '@es_extended/locale.lua', - 'locales/de.lua', - 'locales/br.lua', - 'locales/en.lua', - 'locales/fi.lua', - 'locales/fr.lua', - 'config.lua', - 'client/main.lua' + '@es_extended/locale.lua', + 'locales/de.lua', + 'locales/br.lua', + 'locales/en.lua', + 'locales/fi.lua', + 'locales/fr.lua', + 'locales/sv.lua', + 'config.lua', + 'client/main.lua' +} + +dependencies { + 'es_extended', + 'esx_property', + 'esx_addonaccount', + 'esx_society' } diff --git a/locales/sv.lua b/locales/sv.lua new file mode 100644 index 00000000..3e802985 --- /dev/null +++ b/locales/sv.lua @@ -0,0 +1,23 @@ +Locales['sv'] = { + ['properties'] = 'fastigheter', + ['property'] = 'fastighet', + ['clients'] = 'klienter', + ['remove_comp_money'] = 'ta företagspengar', + ['dep_money'] = 'sätt in', + ['wash_money'] = 'tvätta kläder', + ['realtor'] = 'mäklare', + ['amount_withdraw'] = 'summa', + ['invalid_amount'] = 'ogiltigt belopp', + ['amount_deposit'] = 'sätt in summa', + ['amount_launder'] = 'summa att tvätta', + ['press_to_access'] = 'trycka ~INPUT_CONTEXT~ för att öppna menyn.', + ['property_actions'] = '{{Assign [Köp]|Köp}} {{Assign [Hyra]|Hyra}} {{GPS|gps}}', + ['amount'] = 'summa', + ['no_play_near'] = 'det finns inga spelare i närheten!', + ['contract'] = '{{Ta bort kontrakt|Ta bort}} {{GPS|gps}}', + ['rent'] = 'hyra', + ['sell'] = 'sälj', + ['realtors'] = 'mäklare', + ['client'] = 'klienter', + ['boss_action'] = 'chefmeny', +} \ No newline at end of file