mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 09:48:52 +00:00
Removed /disc command, closes #464
Co-Authored-By: Andrea Passarini <profex1999@users.noreply.github.com>
This commit is contained in:
@@ -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