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

Function

resetPlayerClothes

ServerClothesTrilogy Hub only

Removes everything scripts put on the player (clothes and tattoos).

Syntax

bool resetPlayerClothes(player thePlayer)

Arguments

thePlayerplayer
The player.

Returns

true on success.

Example

addEventHandler("onPlayerWasted", root, function()
    resetPlayerClothes(source)
end)

See also