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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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