Click or drag to resize

NativePlayerSetPlayerAttachedObject Method

[Missing <summary> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual bool SetPlayerAttachedObject(
	int index,
	int modelid,
	int bone,
	float offsetX,
	float offsetY,
	float offsetZ,
	float rotX,
	float rotY,
	float rotZ,
	float scaleX,
	float scaleY,
	float scaleZ,
	int materialcolor1,
	int materialcolor2
)

Parameters

index
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

modelid
Type: SystemInt32

[Missing <param name="modelid"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

bone
Type: SystemInt32

[Missing <param name="bone"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

offsetX
Type: SystemSingle

[Missing <param name="offsetX"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

offsetY
Type: SystemSingle

[Missing <param name="offsetY"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

offsetZ
Type: SystemSingle

[Missing <param name="offsetZ"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

rotX
Type: SystemSingle

[Missing <param name="rotX"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

rotY
Type: SystemSingle

[Missing <param name="rotY"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

rotZ
Type: SystemSingle

[Missing <param name="rotZ"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

scaleX
Type: SystemSingle

[Missing <param name="scaleX"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

scaleY
Type: SystemSingle

[Missing <param name="scaleY"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

scaleZ
Type: SystemSingle

[Missing <param name="scaleZ"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

materialcolor1
Type: SystemInt32

[Missing <param name="materialcolor1"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

materialcolor2
Type: SystemInt32

[Missing <param name="materialcolor2"/> documentation for "M:SampSharp.Entities.SAMP.NativePlayer.SetPlayerAttachedObject(System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32)"]

Return Value

Type: Boolean
See Also