ID:176665
 
I was wondering how I could let the user level up to lets say, level 12, then they can use NorthEast() to use the weapon, if not level 12, they cannot use NorthEast() code shown below -->

client/Northwest()
var/obj/O = new/obj/ax(get_step(usr,usr.dir))
usr.icon_state = "atk"
view()<<sound('ready.wav')
O.dir = usr.dir
sleep(4)
usr.icon_state = ""
del(O)
for(var/mob/M in get_step(mob,mob.dir))
mob.attack2(M)
First of all, that's northWEST, not northeast. Second, you use an if() statement, if(mob.level >= 12), Third, usr is not what you want, you should use mob instead, which is the mob that client is connected to.