ID:145525
 
gun2.dm:2:error: proc definition not allowed inside another proc



Fire()
set hidden=1
if(usr.waittime==0)
if(usr.weapon!=null)
var/usrweapon=usr.weapon
if(usr.icon_state=="weapon")
if(usrweapon:name=="Hand Gun")
What's the thing before 'Fire()'?
In response to Mysame
there is nothing y?
In response to KrimsonEmpire
Ah... I suggest reading some tutorials and the DM Guide.

But since there's no possibility that you'll even try doing so, I'll just tell you how to fix it;
Replace Fire() by mob/proc/Fire()

Also, don't use 'usr' in procs.
In response to Mysame
thankyou by the way i done half of that tutorial but i knew everything and i screwd summit up then i tried to restart but i couldnt!
In response to KrimsonEmpire
Euhm, really. By the little snippet you've showed the community, I think we can all incline you're not even near ready of making a tutorial. I'm not even there, to be honest.