Scripting/Server/Functions/player.ResetClothing
Back to the model's own look: one slot, or everything without an argument.
Syntax
player.ResetClothing([slot])Arguments
- int slot (optional)
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "resetclothing" )
{
player.ResetClothing();
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Ped clothing (v0.3.3)
Categories: Server functions | Ped clothing (v0.3.3)