Click or drag to resize

NativeObjectSetObjectMaterial Method

[Missing <summary> documentation for "M:SampSharp.Entities.SAMP.NativeObject.SetObjectMaterial(System.Int32,System.Int32,System.String,System.String,System.Int32)"]

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual bool SetObjectMaterial(
	int materialindex,
	int modelid,
	string txdname,
	string texturename,
	int materialcolor
)

Parameters

materialindex
Type: SystemInt32

[Missing <param name="materialindex"/> documentation for "M:SampSharp.Entities.SAMP.NativeObject.SetObjectMaterial(System.Int32,System.Int32,System.String,System.String,System.Int32)"]

modelid
Type: SystemInt32

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

txdname
Type: SystemString

[Missing <param name="txdname"/> documentation for "M:SampSharp.Entities.SAMP.NativeObject.SetObjectMaterial(System.Int32,System.Int32,System.String,System.String,System.Int32)"]

texturename
Type: SystemString

[Missing <param name="texturename"/> documentation for "M:SampSharp.Entities.SAMP.NativeObject.SetObjectMaterial(System.Int32,System.Int32,System.String,System.String,System.Int32)"]

materialcolor
Type: SystemInt32

[Missing <param name="materialcolor"/> documentation for "M:SampSharp.Entities.SAMP.NativeObject.SetObjectMaterial(System.Int32,System.Int32,System.String,System.String,System.Int32)"]

Return Value

Type: Boolean
See Also