ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getPedTattoos

Function

getPedTattoos

Server and clientClothesTrilogy Hub only

Returns a ped's tattoos: a slot -> { name, texture, place } table (on the server also image for tattoos from addPedTattooImage).

Syntax

table getPedTattoos(ped thePed)

Arguments

thePedped
The ped.

Returns

A tattoo table or false.

Example

for slot, tattoo in pairs(getPedTattoos(player)) do
    outputChatBox(slot .. ": " .. tattoo.name .. " (" .. tattoo.place .. ")", player)
end

See also