Scripting/Server/Classes/Player/RemoveLimb

Detaches a body part on every client (BODYPART_*).

Syntax

player.RemoveLimb(bodypart)

Arguments

Example

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

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

Section: Player

Categories: Server methods | Player