Best-Killer Posted December 5, 2015 Posted December 5, 2015 (edited) Code : exports.scoreboard:addScoreboardColumn('Country') addEventHandler("onPlayerJoin", root, function () local flag = ":admin/client/images/flags/"..country..".png" setElementData(source, "Country",{type = "image", src = flag, height = 12, width = 16} and country or "N/A") end) Images not showing Edited December 7, 2015 by Guest
Best-Killer Posted December 7, 2015 Author Posted December 7, 2015 New Code : exports.scoreboard:addScoreboardColumn('Country') addEventHandler("onPlayerJoin", root, function () country = exports.admin:getCountry(source) local flag = ":admin/client/images/flags/"..country..".png" setElementData(source, "Country",{type = "image", src = flag, height = 12, width = 16} and country or "N/A") end) still same problem help guys pls
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