diff --git a/README.md b/README.md index 18cdf46b..fd6a5fe9 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,16 @@ git clone https://github.com/ESX-Org/esx_rpchat #### Installation -1) Add `start esx_rpchat` to your server.cfg \ No newline at end of file +1) Add `start esx_rpchat` to your server.cfg + +# Legal +### License +esx_rpchat - RP chat for ESX + +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 f90de495..16eccc81 100644 --- a/__resource.lua +++ b/__resource.lua @@ -8,7 +8,7 @@ server_scripts { '@es_extended/locale.lua', 'locates/sv.lua', 'locates/en.lua', - 'locates/fr.lua', + 'locates/fr.lua', 'config.lua', 'server/main.lua' } @@ -17,7 +17,7 @@ client_scripts { '@es_extended/locale.lua', 'locates/sv.lua', 'locates/en.lua', - 'locates/fr.lua', + 'locates/fr.lua', 'config.lua', 'client/main.lua' } diff --git a/locates/en.lua b/locates/en.lua index 23c74b14..3d1e1532 100644 --- a/locates/en.lua +++ b/locates/en.lua @@ -1,5 +1,4 @@ Locales['en'] = { - -- ooc chat ['ooc_help'] = 'type an out of character message', ['ooc_prefix'] = 'OOC | %s', ['twt_help'] = 'send a tweet', diff --git a/locates/fr.lua b/locates/fr.lua index 808adcbe..9d2348d4 100644 --- a/locates/fr.lua +++ b/locates/fr.lua @@ -1,5 +1,4 @@ Locales['fr'] = { - -- ooc chat ['ooc_help'] = 'ecrit un message hors du personnage', ['ooc_prefix'] = 'hrp | %s', ['twt_help'] = 'envoie un tweet', diff --git a/locates/sv.lua b/locates/sv.lua index 09ecfee3..341449f0 100644 --- a/locates/sv.lua +++ b/locates/sv.lua @@ -1,5 +1,4 @@ Locales['sv'] = { - -- ooc chat ['ooc_help'] = 'skicka ett meddelande som inte kopplat till din karaktär', ['ooc_prefix'] = 'OOC | %s', ['twt_help'] = 'skicka en tweet', diff --git a/server/main.lua b/server/main.lua index 2e997f3c..d15d81c7 100644 --- a/server/main.lua +++ b/server/main.lua @@ -3,7 +3,7 @@ AddEventHandler('chatMessage', function(source, name, msg) if command == "/ooc" then CancelEvent() - TriggerClientEvent('esx_rpchat:sendProximityMessage', -1, source, _U('ooc_prefix', name), string.sub(msg, 5), { 128, 128, 128 }) + TriggerClientEvent('chatMessage', -1, _U('ooc_prefix', name), { 128, 128, 128 }, string.sub(msg, 5)) elseif command == "/twt" then CancelEvent() TriggerClientEvent('chatMessage', -1, _U('twt_prefix', name), { 0, 153, 204 }, string.sub(msg, 5))