SA-MP Forums Archive
An idea for making guns; able to script ? - 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: An idea for making guns; able to script ? (/showthread.php?tid=276101)



An idea for making guns; able to script ? - Darnell - 12.08.2011

Okay, I had this cool idea of creating weapons in an RP way, like, there's a metal factory or something like that that you can buy gun parts like hinge and barrel and stuff, and you go to your workshop, and you like assamble the gun part by part e.g : /connect rail barrel; and you get like a message that says "rail and barrel were connected successfuly" and part by part you create the specific gun.
Is it scriptable ?



Re: An idea for making guns; able to script ? - Darnell - 12.08.2011

Someone ... ?


Re: An idea for making guns; able to script ? - -RaZoR- - 12.08.2011

Yea its scriptable, Just use variables, I can't provide you the whole code, But if u need help in some part , ask


Re: An idea for making guns; able to script ? - Darnell - 12.08.2011

If someone could do that, that'd be awesome >.<.


Re: An idea for making guns; able to script ? - Lorenc_ - 12.08.2011

It's possible though you need to be crazy at math. If you want grenade launchers w/ laser sights (example)

Coding it efficiently is the main thing.


Re: An idea for making guns; able to script ? - Darnell - 12.08.2011

I ment, guns that pepole use for roleplay; e.g : Deagle, Mac-10, Tec-9, M4, etc.