DRW Posted June 6, 2015 Share Posted June 6, 2015 EDIT: Forget about this, it was a script problem, not a DXText one. Solved function drawText() local playerCoins = getPlayerCoin(getLocalPlayer()); local gPlayerCoins = string.format("%08d", playerCoins); dxDrawText("ZP: "..gPlayerCoins, x*795, y*698, x*973, 198, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*795, y*702, x*973, 198, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*800, y*700, x*973, 196, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*795, y*702, x*971, 198, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*800, y*698, x*971, 198, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*796, y*700, x*971, 196, tocolor(0, 0, 0, 255), size, "pricedown", "left", "top", false, false, false, false, false); dxDrawText("ZP: "..gPlayerCoins, x*797, y*700, x*972, 197, tocolor(0,252,151, 200), size, "pricedown", "left", "top", false, false, false, false, false); end addEventHandler("onClientRender", root, drawText) I want to fit this text to the bottom right corner, but I don't know how, how can I do that? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now