xeon17 Posted May 9, 2014 Share Posted May 9, 2014 The script work , there is ''Home'' on scoreboard but nobody have flag. img of his flag exports.scoreboard:addScoreboardColumn('flag') function showcountry() local flag = exports.admin:getPlayerCountry ( source ) if flag then setElementData(source,"Home",":admin/client/images/flags/"..flag..".png") else flag = "N/A" end end addEventHandler("onPlayerJoin",getRootElement(),showcountry) Can anyone help me ? there is nothing in debugscript 3 Link to comment
JR10 Posted May 9, 2014 Share Posted May 9, 2014 The scoreboard by default does not support images, only text. You will have to edit the scoreboard resource for this to work. Link to comment
JR10 Posted May 9, 2014 Share Posted May 9, 2014 I was talking about dxscoreboard already. 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