client
Northwest()
if(!src.clips)
src << "You have no clips left!"
return
else
usr.Reload()
Problem description:
The usr there is a /mob/pc/[name], problem is, every time I compile it tells me that usr.Reload() hasn't been defined, I need some way of identifying the person that's trying to reload while skipping the bloody usr
mob/pc/proc/Reload(obj/Inventory/Equipment/E)
if(!istype(E) || !E.AllowUnequip() || src.vars["[E.identifier]"]!=E)
return 0
if(E.bullets == E.maxbullets)
usr << "You do not need to reload"
return
E.bullets = E.maxbullets
usr << "You reload your [E]!"
There's the reload proc just in case that helps you help me...
You're abusing usr anyway. To find out what's wrong with using usr in this situation, read the usr lecture.