pixel_z problem in Developer Help
mob proc height() var/obj/main/checkheight = locate(usr.x,usr.y,usr.z) usr.pixel_z = checkheight.height * 32
Because locate() returns a turf, not an obj, and definitely not an /obj/main. Also: locate(usr.x,usr.y,usr.z) is profoundly silly and you should just be using usr.loc instead. Oh, and you shouldn't be using usr in procs AT ALL. You should be using src instead, here.
mob proc height() var/turf/checkheight = src.loc src.pixel_z = checkheight.height * 32 + 32client/Move() ..() usr.height() // had to add this
Also: locate(usr.x,usr.y,usr.z) is profoundly silly and you should just be using usr.loc instead.
Oh, and you shouldn't be using usr in procs AT ALL. You should be using src instead, here.