Click or drag to resize

BasePlayerSetSkillLevel Method

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

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void SetSkillLevel(
	WeaponSkill skill,
	int level
)

Parameters

skill
Type: SampSharp.GameMode.DefinitionsWeaponSkill
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