Click or drag to resize

ServerServiceNativeAddPlayerClass Method

[Missing <summary> documentation for "M:SampSharp.Entities.SAMP.ServerServiceNative.AddPlayerClass(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Int32,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 int AddPlayerClass(
	int modelId,
	float spawnX,
	float spawnY,
	float spawnZ,
	float zAngle,
	int weapon1,
	int weapon1Ammo,
	int weapon2,
	int weapon2Ammo,
	int weapon3,
	int weapon3Ammo
)

Parameters

modelId
Type: SystemInt32

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

spawnX
Type: SystemSingle

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

spawnY
Type: SystemSingle

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

spawnZ
Type: SystemSingle

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

zAngle
Type: SystemSingle

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

weapon1
Type: SystemInt32

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

weapon1Ammo
Type: SystemInt32

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

weapon2
Type: SystemInt32

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

weapon2Ammo
Type: SystemInt32

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

weapon3
Type: SystemInt32

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

weapon3Ammo
Type: SystemInt32

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

Return Value

Type: Int32
See Also