This lib is a bit buggy.
function createText1 ( )
local playerX, playerY, playerZ = getElementPosition( getLocalPlayer() ) -- Get player's coordinates.
local playerZoneName = getZoneName( playerX, playerY, playerZ, false ) -- Get name of the player's zone.
local playerZoneName1 = getZoneName( playerX, playerY, playerZ, true ) -- Get name of the player's zone.
txt = dxText:create("Area:\n"..playerZoneName1..", "..playerZoneName, 0.8205, 0.2266, true)
txt:scale(1.20)
txt:font("arial")
txt1:postGUI(true)
txt1 = dxText:create("Area:\n"..playerZoneName1..", "..playerZoneName, 0.8205, 0.2266, true)
txt1:scale(1.22)
txt1:color(0,0,0,255)
txt1:font("arial")
end
It doesn't updates the dxText(txt), while with "dxDrawText" worked perfectly!