Jump to content

add columns in toptimes


Dex

Recommended Posts

I would like to add columns to my toptimes,I did this for now. But how to get players, time and date =/

what else would have to do?, help!

local columns = { 
    {"N°", 0.02}, 
    {"Player", 0.086, "name"}, 
    {"Time", 0.5, "time"}, 
    {"Date", 0.69, "date"}, 
} 
addEvent("ToptimesUpdate", true ) 
  
  
addEventHandler("ToptimesUpdate", getRootElement(), 
  
function(toptimeLimit, mapName, toptimes) 
    limit = toptimeLimit or 10 
    MAP_NAME = mapName or "Unknown" 
    TOPTIMES = toptimes or {} 
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...