Jump to content

remove color-coded grid nick list


raynner

Recommended Posts

function ColocarJugadores1 () 
    guiGridListClear(GridJugadores1)-- Borrar la grid 
    for index,player in ipairs(getElementsByType("player")) do 
        local row = guiGridListAddRow( GridJugadores1 ) 
        guiGridListSetItemText ( GridJugadores1, row, 1, (string.gsub ( getPlayerName(player), '#%x%x%x%x%x%x', '' ) or getPlayerName(player)), false, false) 
        guiGridListSetItemData ( GridJugadores1, row, 1, getPlayerName(player)) 
    end 
end 

misses this function I wanted took some examples of wiki and managed to create thanks for the help

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...