mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:01:24 +00:00
Update commands.lua
This commit is contained in:
@@ -240,6 +240,7 @@ QBCore.Commands.Add('me', 'Show local message', {{name = 'message', help = 'Mess
|
||||
local pCoords = GetEntityCoords(ped)
|
||||
local msg = table.concat(args, ' ')
|
||||
if msg == '' then return end
|
||||
if string.match(msg, "<") then TriggerClientEvent('QBCore:Notify', source, Lang:t('error.wrong_format'), 'error') return end
|
||||
for k,v in pairs(QBCore.Functions.GetPlayers()) do
|
||||
local target = GetPlayerPed(v)
|
||||
local tCoords = GetEntityCoords(target)
|
||||
|
||||
Reference in New Issue
Block a user