local changed = false
addEventHandler(\"onClientPreRender\", root, function()
if changed then return end
if getElementModel(localPlayer) == 1 and getElementData(localPlayer, \"faction\") ~= 1 then
triggerServerEvent(\"changeSkin\", localPlayer, localPlayer)
changed = true
setTimer(function() changed = false end, 5000, 1) --- kell egy kis idő amíg a szerver reagál, ne triggereljük 2x
end
end)