SA-MP Forums Archive
SetPlayerSkillLevel again i`m here. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerSkillLevel again i`m here. (/showthread.php?tid=316710)



SetPlayerSkillLevel again i`m here. - bleedis - 08.02.2012

Hellou my good friends!
I`m here with 2 things that i want to know or learn dunno. Ok lets start [I hope you have answers for me he he.]

I done everything i wanted to my setplayerskilllevel thing and its works but now i want more khe.

1. I want like that bold stuff goes not ++ +1 but like +3 I thought that will be easy but its not. i literally set it to +3 and what a suprise its not working I dont know how to search that staff. i even dont know how to call it. so i need help with that.

Код:
if(GetPlayerWeapon(killerid) == 23)
PlayerInfo[killerid][SilencedPistolskill]++;
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, (dUserINT(PlayerName2(playerid)).("SilencedPistolskill")) );
2. As i searched forum throught to resolve my problem by my self i learned that max skill is 999 - ok not in the forum but in wiki. hehe So i`m asking that, when player reach 999 in file its stop going up.

Thank you for you time to read my nightmare!


Re: SetPlayerSkillLevel again i`m here. - Slice - 08.02.2012

https://sampwiki.blast.hk/wiki/Scripting_Basics


Re: SetPlayerSkillLevel again i`m here. - bleedis - 08.02.2012

This is your answer for both things?
So i`m done with first thing.
Anyway thanks.