Scripting/Server/Functions/player.GetClothing

The item name or null / the tint as 0xRRGGBB or -1.

Syntax

player.GetClothing(slot)
player.GetClothingColour(slot)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "getclothing" )
	{
		player.GetClothing( 0 );
	}
}

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)