When you have an 3D object...(your own object made in any 3D program)....and you would like to use it as your gun in a first person shooter, you will have to write some comands:
Load object "my_gun.x",1 That will load your object(your gun....the one you like more...whatever...)
Position object 1,camera position x(),camera postion y(),camera position z()
Those commands position object number 1 (refering your gun....the one you created...the one your friend gave at....)
so....knowing that we can load our objects (using comand
LOAD OBJECT ,"my_object.x",1) we can put the object where we want....and just answering your cuestion about adding a gun...I supposed that you meant to use a gun in a first person shooter....I even ask my self now....mmmmmh let me think....
We can load our objects...
we can place this objects where we want
we can do a lot of things with Dbpro.
The example I posted here is to little advanced for a beginner sorry...but if you just read it little by little, you will notice, that this is the best tutorial you will find for this purpose.
I would like to help you somehow...I would like to hear about you about learning to programm with darkbasic and that examples around the forum where good for you....just let me know if you learn with us.
cheers.
I'm not a grumpy grandpa