diff --git a/README.md b/README.md index 1588f62b..929a4a3c 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,41 @@ # esx_voice -FXServer ESX Voice - - -#### Description This is a proximity voice controller script. The default control for this is `Left Shift + H` (QWERTY). -#### Download +## Download & Installation -**1) Using [fvm](https://github.com/qlaffont/fvm-installer)** +### Using [fvm](https://github.com/qlaffont/fvm-installer) ``` fvm install --save --folder=esx esx-org/esx_voice ``` -**2) Manually** -- Download https://github.com/ESX-Org/esx_voice/releases/latest -- Put it in resource/[esx] directory - -**3) Using Git** - +### Using Git ``` -cd resouces -git clone https://github.com/ESX-Org/esx_voice +cd resources +git clone https://github.com/ESX-Org/esx_voice [esx]/esx_voice ``` -#### Installation +### Manually +- Download https://github.com/ESX-Org/esx_voice/archive/master.zip +- Put it in the `[esx]` directory -1) Add `start esx_voice` to your server.cfg +## Installation +Add this into your `server.cfg` +``` +start esx_voice +``` +## Credits -#### Credits -Original Script by [aabbfive](https://github.com/aabbfive/voicecontroller) +[aabbfive](https://github.com/aabbfive/voicecontroller) - Original author + +# Legal +### License +esx_voice + +Copyright (C) 2015-2020 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/. diff --git a/client/main.lua b/client/main.lua index c641f803..a235d995 100644 --- a/client/main.lua +++ b/client/main.lua @@ -73,4 +73,4 @@ Citizen.CreateThread(function() drawLevel(185, 185, 185, 255) end end -end) +end) \ No newline at end of file diff --git a/config.lua b/config.lua index ad83260a..a3d6aa84 100644 --- a/config.lua +++ b/config.lua @@ -1,2 +1,3 @@ -Config = {} -Config.Locale = 'en' \ No newline at end of file +Config = {} + +Config.Locale = 'en' diff --git a/__resource.lua b/fxmanifest.lua similarity index 73% rename from __resource.lua rename to fxmanifest.lua index d314d63b..621dabd1 100644 --- a/__resource.lua +++ b/fxmanifest.lua @@ -1,4 +1,6 @@ -resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' +fx_version 'adamant' + +game 'gta5' description 'ESX Voice Controller' @@ -9,9 +11,10 @@ client_scripts { 'locales/br.lua', 'locales/en.lua', 'locales/fi.lua', - 'locales/fr.lua', + 'locales/fr.lua', 'locales/pl.lua', 'locales/sv.lua', + 'locales/ko.lua', 'config.lua', 'client/main.lua' } diff --git a/locales/ko.lua b/locales/ko.lua new file mode 100644 index 00000000..c4c7fc64 --- /dev/null +++ b/locales/ko.lua @@ -0,0 +1,6 @@ +Locales ['ko'] = { + ['voice'] = '~y~목소리: ~s~%s', + ['normal'] = '보통', + ['shout'] = '외침', + ['whisper'] = '속삭임', +}