SA-MP Forums Archive
Gun Skills - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gun Skills (/showthread.php?tid=126139)



Gun Skills - Hrvo182 - 07.02.2010

hello!I Was wondering how to make gun skills like they are all on 0 so you have only one UZI onlyo ne 9mm and so


Re: Gun Skills - armyoftwo - 07.02.2010

Код:
https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Example:
Код:
public OnPlayerConnect(playerid)
{
  SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 0); // SHOTGUN SKILL LEVEL 0
  SetPlayerSkillLevel(playerid, 6, 0);// UZI SKILL LEVEL 0
return 1;
}



Re: Gun Skills - Hrvo182 - 07.02.2010

thank you