From 6258651d8bbd707a4630e915c4a917ef6676d768 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Tue, 30 Jan 2024 14:37:44 +0100 Subject: [PATCH] tweak(client/peds): copying clothing --- client/peds.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/peds.lua b/client/peds.lua index 4ecc0fb..e151d15 100644 --- a/client/peds.lua +++ b/client/peds.lua @@ -218,10 +218,10 @@ end) RegisterCommand("getclothing", function(source, args, rawCommand) local info = "" for k, v in pairs(clothingComponents) do - info = ("%s\n%s = {\n drawable = %s,\n texture = %s\n},"):format(info, k, GetPedDrawableVariation(cache.ped, v), GetPedTextureVariation(cache.ped, v)) + info = ("%s\n%s = { drawable = %s, texture = %s },"):format(info, k, GetPedDrawableVariation(cache.ped, v), GetPedTextureVariation(cache.ped, v)) end for k, v in pairs(clothingProps) do - info = ("%s\n%s = {\n drawable = %s,\n texture = %s\n},"):format(info, k, GetPedPropIndex(cache.ped, v), GetPedPropTextureIndex(cache.ped, v)) + info = ("%s\n%s = { drawable = %s, texture = %s },"):format(info, k, GetPedPropIndex(cache.ped, v), GetPedPropTextureIndex(cache.ped, v)) end lib.setClipboard(info) end, false)