- Documentation
- Shared functions
- getPedTattoos
Function
getPedTattoos
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
addPedTattooGives a ped a San Andreas tattoo in one of nine body spots (slots 1-9: upper arms, forearms, back, chest, stomach, lower back). Every player sees it.getTattooPlaceNameReturns where on the body tattoo slot 1-9 is (e.g."lewe ramie"- left upper arm,"plecy"- back,"brzuch"- stomach; the names are in Polish).