I am trying to get a Tile from a position(location).
as follow:
but the Location of the tile isnt the correct location, it gives something likeTile = TClient.Map.GetTile(Location)
{12,16,268} instead of {4048,4050,7}
I mean the property Location from the Tile.
[EDIT]
And the only way I can get the Tile is doing this
TClient.Map.playerTile.Items
this way I can get the itens on tile the player is, but i need to walk to the dead body position
and use it and also the Item.OpenAsContainer Doesnt work.
And yes I'm puting the correct parameters in all of them...
And since there are itens on the floor that I need to check I cant cause the coordenates arent correct.
Any Idea?
Thanks in advance.