SA-MP Forums Archive
Help with weapons - 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: Help with weapons (/showthread.php?tid=112614)



Help with weapons - jdm232323 - 08.12.2009

I need to know what do i put to make weapon skill max, so when weilding sawnoff we get 2 so on
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL,20 0);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL_SI LENCED,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_DESERT_EA GLE,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SHOTGUN,2 00);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SAWNOFF_S HOTGUN,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SPAS12_SH OTGUN,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI ,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MP5,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_AK47,200) ;
SetPlayerSkillLevel(playerid,WEAPONSKILL_M4,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SNIPERRIF LE,200);


Re: Help with weapons - Joe Staff - 08.12.2009

I thought it was automatic, but if it isn't just put that under OnPlayerSpawn.