Get Player weapon skill Level ?
#1

Hello there,

Can anyone tell me how to Get player's weapon skill level.. I don't know how to do that..

I mean it comes like MP5(Level : ) n' stuff also how to do the loading/saving stuff for Skill Levels ?
Reply
#2

Read here: https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel

I can't find an GetPlayerSkillLevel function, so your best shot is to create one yourself and then use SetPlayerSkillLevel to set the level.


Example:

pawn Код:
new PSkill[MAX_PLAYERS];

When the player levels up, PSkill[playerid]++;
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, PSkill[playerid]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)