Hello, please calc them according to following formulas:
Code:
local $x=GuiCtrlRead($Tools_I1)
local $z=GuiCtrlRead($Tools_I2)
local $xpos=mod($x,192)*10
local $zpos=mod($z,192)*10
local $xsec=($x-$xpos/10)/192+135
local $zsec=($z-$zpos/10)/192+92
local $region=$zsec*256+$xsec
local $string="/warp "&$region&" "&$xpos&" 0 "&$zpos
After using "/warp" you have to use "/addwp XYZ" and "/wp XYZ" to physically move. Let me know if you have any questions.