ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. addPedTattooImage

Function

addPedTattooImage

ServerClothesTrilogy Hub only

Makes a tattoo from your own PNG image in slot 1-9. The file must be listed in meta.xml as <file> (at most 1 MB and 1024x1024), and ":resource/file.png" takes the file from another resource. Dark pixels are ink, light and transparent ones are skin. Every player sees it.

Syntax

bool addPedTattooImage(ped thePed, int slot, string filePath)

Arguments

thePedped
The ped.
slotint
Slot 1-9.
filePathstring
The PNG file.

Returns

true on success (a file error goes to the console).

Example

addPedTattooImage(player, 5, "tatuaze/logo.png")

See also