samp.directory
← Scripts and libraries

Open-GTO/weaponskill

Some weapon skill functions

Library★ 1updated Jul 2021MITPAWNsampctl
Open on GitHub

Install with sampctl

sampctl package install Open-GTO/weaponskill

Run this in your project folder. sampctl downloads the package and what it depends on.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

Depends on 1 package

README.md

weaponskill

Some weapon skill functions

Functions

GetPlayerSkillLevel(playerid, skill);
GivePlayerSkillLevel(playerid, skill, amount);
GetWeaponSkillName(skill, name[], const size = sizeof(name));
GetWeaponSkillID(weaponid);
GetPlayerSkillLevelArray(playerid, array[MAX_WEAPON_SKILLS]);
SetPlayerSkillLevelArray(playerid, array[MAX_WEAPON_SKILLS]);
ResetPlayerSkillLevel(playerid);

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

Open-GTO/weaponskill: SA-MP Library | samp.directory