SA-MP Forums Archive
how to match weapon's id with weapon's model id - 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: how to match weapon's id with weapon's model id (/showthread.php?tid=633997)



how to match weapon's id with weapon's model id - chakwut - 11.05.2017

i want to adapt skinchanger filterscripts to weapon selection. so i want to match weapon's id with weapon model's id.Have anyone can help me?


Re: how to match weapon's id with weapon's model id - NaS - 11.05.2017

They are all on the SAMP Wiki, so you can either make an Array that holds the Models for each Weapon ID or a function (using switch or whatever).

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

Alternatively search on the forums or ******, this has been done and posted before.


Re: how to match weapon's id with weapon's model id - chakwut - 11.05.2017

thanks you.