Blinker. Posted November 16, 2014 Share Posted November 16, 2014 Hello folks, i'm using this resource https://community.multitheftauto.com/index.php?p=resources&s=details&id=4019 , i've edited Home to be Country and it worked. http://imgur.com/Rq54Wkr the problem is i want to set in the column and Country name . So for example my country is Lebanon i want it to be LB i've tried a lot and without success Any help would be greatly appreciated. Link to comment
Blinker. Posted November 16, 2014 Author Share Posted November 16, 2014 Hehe , can u please add in it Name of the country after the flag ? Link to comment
WASSIm. Posted November 16, 2014 Share Posted November 16, 2014 you can make flags on screboard by useing default screboard exports.scoreboard:addScoreboardColumn('Home') addEventHandler("onPlayerJoin", root, function () local country = exports.admin:getPlayerCountry(source) local flag = country and ":admin/client/images/flags/"..country..".png" setElementData(source, "Home", flag and {type = "image", src = flag, height = 12, width = 16} or "N/A") end) 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