Scripting/Server/Functions/player.ResetClothing

Back to the model's own look: one slot, or everything without an argument.

Syntax

player.ResetClothing([slot])

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "resetclothing" )
	{
		player.ResetClothing();
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Ped clothing (v0.3.3)

Categories: Server functions | Ped clothing (v0.3.3)