don't make it for admin
Thanks
mousepos = {} npc = 1 addhook("join","_join") function _join(id) mousepos[id] = {x=0 ,y=0} end addhook("clientdata","cltdata") function cltdata(id, mode, x, y) if mode == 2 then mousepos[id].x, mousepos[id].y = x, y end end function spawn(id) reqcld(id,2) local x, y = math.floor(mousepos[id].x/32), math.floor(mousepos[id].y/32) parse('spawnnpc '..npc.." "..x.." "..y) end addhook("say","actn") function actn(id,txt) if txt == "npc" then spawn(id) return 1 end end