SA-MP Forums Archive
Is it possible to change the colour of your guns? And can u make custom guns? - 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: Is it possible to change the colour of your guns? And can u make custom guns? (/showthread.php?tid=552367)



Is it possible to change the colour of your guns? And can u make custom guns? - jremi - 24.12.2014

E.g, have. Yellow desert eagle, or A blue m4


Also, is it possible to make custom weapons ? E.g making a gun similar to the m4, but change it's fire rate, and it's damage?


Re: Is it possible to change the colour of your guns? And can u make custom guns? - Diabloa - 24.12.2014

From what I have witnessed on a seever, you can change the weapons color and add more fire power to it.


Re: Is it possible to change the colour of your guns? And can u make custom guns? - Sawalha - 24.12.2014

Possible, but you will miss somethings, the weapon icon at the hud, player's not holding the weapon ofc, Impossible Aimming with it (maybe) , so you can create a weapon object and a bullets firing object, and attach them to a vehicle, o/r object, You can use AttachObjectToObject to create your custom gun with some small size objects.


Re: Is it possible to change the colour of your guns? And can u make custom guns? - DavidLuango - 24.12.2014

Up to my knowledge, yes it's possible.


Re: Is it possible to change the colour of your guns? And can u make custom guns? - Lordzy - 24.12.2014

Attach an object to the player resembling it's ID and then set it's material. For increasing damage rates - Yes, you can. I've also written an include long time ago which got the ability to change weapon damage rates.

https://sampforum.blast.hk/showthread.php?tid=442959