ich habe in vielen Lua's gelessen das das z.b :
Variante 1 : {pos1 = {82,26}
Variante 2: pos={4208, 5040}
und jetz meine frage wie ermittelt man Variante 2? Viariante 1 weis ich schon habe es herausgefunden.
Dank im voraus
MFG
Everybody
addhook ("say","sages") function sages(id,txt) 	if (txt=="-getpos") then 		msg (string.format("pixel:x(%s),y(%s)",player(id,"x"),player(id,"y"))) 		msg (string.format("tile:x(%s),y(%s)",player(id,"tilex"),player(id,"tiley"))) 	end end
addhook ("say","sages") function sages(id,txt) if (txt=="-getpos" and player(id,"health")>0) then msg (string.format("pixel:x(%s),y(%s)",player(id,"x"),player(id,"y"))) msg (string.format("tile:x(%s),y(%s)",player(id,"tilex"),player(id,"tiley"))) end end