Update commands.lua

This commit is contained in:
Andyyy7666
2021-12-27 18:02:12 +01:00
committed by GitHub
parent dc38c8f0b2
commit 0ff92d87d2

View File

@@ -71,7 +71,7 @@ end)
-- Me command -- Me command
RegisterCommand("me", function(source, args, rawCommand) RegisterCommand("me", function(source, args, rawCommand)
TriggerServerEvent("me", GetPlayerServerId(PlayerId()), mainFirstName .. " " .. mainLastName, string.gsub(rawCommand, "twt", ""), GetEntityCoords(PlayerPedId())) TriggerServerEvent("me", GetPlayerServerId(PlayerId()), mainFirstName .. " " .. mainLastName, string.gsub(rawCommand, "me", ""), GetEntityCoords(PlayerPedId()))
end, false) end, false)
RegisterNetEvent("me") RegisterNetEvent("me")
AddEventHandler("me", function(id, name, msg, coords) AddEventHandler("me", function(id, name, msg, coords)