'LinKin Posted November 7, 2013 Share Posted November 7, 2013 Hello, I will go straight to the point. I want a column in scoreboard that shows me the country flag, and next to it, the Country's tag (i.e [flag:co] CO) I have edited the dxScoreboard_Client. Added these lines elseif column.name == "Home" then dxDrawImage( topX+theX, y+s(1), 16, 11, content [ 1 ], 0, 0, 0, cWhite, drawOverGUI ) dxDrawText ( tostring(content[2]), topX+theX, y+s(1), 16, 11, cWhite, 1, "default", "right", "bottom", true, false, drawOverGUI ) outputChatBox(tostring(content[2])) The flag's image is properly displayed, but the country's tag (string) is not... I put that outputChatBox in order to make sure the tag's string existed, and yes it does. I have no errors nor warnings while running the script. I really don't know what is going on with dxDrawText.. I've deleted the dxDrawImage line, so the dxScoreboard_Client looks like this: elseif column.name == "Home" then dxDrawText ( tostring(content[2]), topX+theX, y+s(1), 16, 11, cWhite, 1, "default", "right", "bottom", true, false, drawOverGUI ) outputChatBox(tostring(content[2])) And in the 'Home' Column anything is shown.. just blank. Any suggestions? * I took as guide the following topic: viewtopic.php?f=91&t=52867 Link to comment
-.Paradox.- Posted November 7, 2013 Share Posted November 7, 2013 https://community.multitheftauto.com/index.php?p= ... ls&id=4019 https://community.multitheftauto.com/index.php?p= ... ls&id=1995 And follow instruction. Link to comment
'LinKin Posted November 8, 2013 Author Share Posted November 8, 2013 I've seen.. Nothing helpful to be honest. The first link shows 2 columns, and that's not what I want to do. Anyway thanks (I guess). Link to comment
-.Paradox.- Posted November 8, 2013 Share Posted November 8, 2013 The first one show only the flag. Link to comment
'LinKin Posted November 9, 2013 Author Share Posted November 9, 2013 Can anyone really help? 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