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")
ID:145525
![]() Feb 23 2006, 9:43 am
|
|
![]() Feb 23 2006, 9:44 am
|
|
What's the thing before 'Fire()'?
|
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. |
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!
|