mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Forgot to add this.
This commit is contained in:
parent
2df51622ba
commit
adcf258551
11
modules/gamelib/util.lua
Normal file
11
modules/gamelib/util.lua
Normal file
@ -0,0 +1,11 @@
|
||||
function postostring(pos)
|
||||
return pos.x .. " " .. pos.y .. " " .. pos.z
|
||||
end
|
||||
|
||||
function dirtostring(dir)
|
||||
for k,v in pairs(Directions) do
|
||||
if v == dir then
|
||||
return k
|
||||
end
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user