mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Removed /disc command, closes #464
Co-Authored-By: Andrea Passarini <profex1999@users.noreply.github.com>
This commit is contained in:
@@ -71,8 +71,6 @@ Locales['br'] = {
|
||||
['giveitem'] = 'dar item',
|
||||
['weapon'] = 'arma',
|
||||
['giveweapon'] = 'dar arma',
|
||||
|
||||
['disconnect'] = 'desconectar do servidor',
|
||||
['chat_clear'] = 'limpar o chat',
|
||||
['chat_clear_all'] = 'limpar o chat para todos',
|
||||
['command_clearinventory'] = 'remover todos os itens do inventário',
|
||||
|
||||
@@ -72,7 +72,6 @@ Locales['cs'] = {
|
||||
['giveitem'] = 'dát věc',
|
||||
['weapon'] = 'zbraň',
|
||||
['giveweapon'] = 'dát zbraň',
|
||||
['disconnect'] = 'odpojit od serveru',
|
||||
['chat_clear'] = 'vyčistit chat',
|
||||
['chat_clear_all'] = 'vyčistit chat pro všechny',
|
||||
['command_clearinventory'] = 'clear all items from inventory',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['de'] = {
|
||||
['giveitem'] = 'give item',
|
||||
['weapon'] = 'weapon',
|
||||
['giveweapon'] = 'give weapon',
|
||||
['disconnect'] = 'disconnect from the server',
|
||||
['chat_clear'] = 'clear the chat',
|
||||
['chat_clear_all'] = 'clear the chat for everyone',
|
||||
['command_clearinventory'] = 'clear all items from inventory',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['en'] = {
|
||||
['giveitem'] = 'give item',
|
||||
['weapon'] = 'weapon',
|
||||
['giveweapon'] = 'give weapon',
|
||||
['disconnect'] = 'disconnect from the server',
|
||||
['chat_clear'] = 'clear the chat',
|
||||
['chat_clear_all'] = 'clear the chat for everyone',
|
||||
['command_clearinventory'] = 'clear all items from inventory',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['fi'] = {
|
||||
['giveitem'] = 'anna itemi',
|
||||
['weapon'] = 'ase',
|
||||
['giveweapon'] = 'anna ase',
|
||||
['disconnect'] = 'poistu serveriltä',
|
||||
['chat_clear'] = 'tyhjennä chatti',
|
||||
['chat_clear_all'] = 'tyhjennä chatti kaikilta',
|
||||
['command_clearinventory'] = 'clear all items from inventory',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['fr'] = {
|
||||
['giveitem'] = 'donner un article',
|
||||
['weapon'] = 'arme',
|
||||
['giveweapon'] = 'donner l\'arme',
|
||||
['disconnect'] = 'déconnecter du serveur',
|
||||
['chat_clear'] = 'vider le chat',
|
||||
['chat_clear_all'] = 'vider le chat pour tous le monde',
|
||||
['command_clearinventory'] = 'effacer tout les items de l\'inventaire',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['pl'] = {
|
||||
['giveitem'] = 'daj przedmiot',
|
||||
['weapon'] = 'broń',
|
||||
['giveweapon'] = 'daj broń',
|
||||
['disconnect'] = 'odłącz się od serwera',
|
||||
['chat_clear'] = 'wyczyść czat',
|
||||
['chat_clear_all'] = 'wyczyść czat dla wszystkich',
|
||||
['command_clearinventory'] = 'usuń wszystkie przedmioty z ekwipunku',
|
||||
|
||||
@@ -71,7 +71,6 @@ Locales['sv'] = {
|
||||
['giveitem'] = 'ge föremål',
|
||||
['weapon'] = 'vapen',
|
||||
['giveweapon'] = 'ge vapen',
|
||||
['disconnect'] = 'koppla från servern',
|
||||
['chat_clear'] = 'töm chatten',
|
||||
['chat_clear_all'] = 'töm chatten för alla',
|
||||
['command_clearinventory'] = 'clear all items from inventory',
|
||||
|
||||
@@ -192,12 +192,6 @@ end, {help = 'Give weapon component', params = {
|
||||
{name = 'componentName', help = 'weapon component'}
|
||||
}})
|
||||
|
||||
TriggerEvent('es:addGroupCommand', 'disc', 'admin', function(source, args, user)
|
||||
DropPlayer(source, 'You have been disconnected')
|
||||
end, function(source, args, user)
|
||||
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', 'Insufficient Permissions.' } })
|
||||
end, {help = _U('disconnect')})
|
||||
|
||||
TriggerEvent('es:addGroupCommand', 'clear', 'user', function(source, args, user)
|
||||
TriggerClientEvent('chat:clear', source)
|
||||
end, function(source, args, user)
|
||||
|
||||
Reference in New Issue
Block a user