[Scripting Help] Hitman Skills
#7

Quote:
Originally Posted by FailerZ
Посмотреть сообщение
If I understand, You want to reset all the weapon skills for the player then set the one chosen in the command..
If that you can use a loop like this whenever the command is used:
PHP код:
 for(new i<= 10i++) SetPlayerSkillLevel(playeridi0); //According to samp wiki from 0 to 10 all the skills 
Then set the player skill level to the one chosen with the command.

Or better is to save the last chosen skill on that player and only reset it without resetting the rest >> [This is more effective]

he want to remove other skill options from choice of command like 9mm, sawnoff, uzi etc..
Reply


Messages In This Thread
[Scripting Help] Hitman Skills - by Toss - 18.07.2017, 17:23
Re: [Scripting Help] Hitman Skills - by Paulice - 18.07.2017, 17:32
Re: [Scripting Help] Hitman Skills - by FailerZ - 18.07.2017, 17:33
Re: [Scripting Help] Hitman Skills - by Toss - 18.07.2017, 17:35
Re: [Scripting Help] Hitman Skills - by IceBilizard - 18.07.2017, 17:54
Re: [Scripting Help] Hitman Skills - by FailerZ - 18.07.2017, 18:02
Re: [Scripting Help] Hitman Skills - by IceBilizard - 18.07.2017, 18:17
Re: [Scripting Help] Hitman Skills - by Toss - 18.07.2017, 19:06
Re: [Scripting Help] Hitman Skills - by IceBilizard - 19.07.2017, 14:22
Re: [Scripting Help] Hitman Skills - by Daymen - 19.07.2017, 21:47

Forum Jump:


Users browsing this thread: 5 Guest(s)