Click or drag to resize

PlayerSetSkillLevel Method

Set the skill level of a certain weapon type for this player.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public void SetSkillLevel(
	WeaponSkill skill,
	int level
)

Parameters

skill
Type: SampSharp.Entities.SAMPWeaponSkill
The WeaponSkill you want to set the skill of.
level
Type: SystemInt32
The skill level to set for that weapon, ranging from 0 to 999. (A level out of range will max it out)
Remarks
The skill parameter is NOT the weapon ID, it is the skill type.
See Also