setTimer(function()
for index, players in pairs(getElementsByType("player")) do
local x, y, z = getElementPosition(players)
setElementData(players, "Money", "$"..getPlayerMoney(players))
setElementData(players, "City", ""..getZoneName(x, y, z, true).."")
end
end, 1000, 0)
You need to put 4 args at setElementPosition, you specified 2 only. That's first, second, no need for that "localPlayer" at first line, just delete it.
If you understand English, I said I'll open my local server and show you my scripts, and now I'm not home means I don't have my scripts, I'll be on my PC at 30/12.