Jump to content

Scoreboard flag


Blinker.

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...