Update commands.lua

This commit is contained in:
Mycroft
2021-05-03 23:44:29 +01:00
parent 5b1e5b9ea4
commit acaa467cf4
+2 -2
View File
@@ -215,11 +215,11 @@ ESX.RegisterCommand('reviveall', "admin", function(xPlayer, args, showError)
for _, playerId in ipairs(GetPlayers()) do
TriggerClientEvent('esx_ambulancejob:revive', playerId)
end
end, false, {help = "reviveall")})
end, false, {help = "reviveall"})
ESX.RegisterCommand("noclip", 'admin', function(xPlayer, args, showError)
xPlayer.triggerEvent('esx:noclip')
end, false, {help = "noclip")})
end, false, {help = "noclip"})
ESX.RegisterCommand('players', "admin", function(xPlayer, args, showError)
local xAll = ESX.GetPlayers()