Jump to content

[Help] Race Gamemode Question


.:HyPeX:.

Recommended Posts

You'll find the text itself under race_server.lua;

function updateNotReadyText() 
    if howManyPlayersNotReady() == 0 then 
        deactiveNotReadyText() 
    end 
    if g_NotReadyDisplay then 
        -- Make sure all ready players are observers 
        for i,player in ipairs(g_Players) do 
            if isPlayerNotReady(player) then 
                textDisplayRemoveObserver(g_NotReadyDisplay, player) 
            else 
                if not textDisplayIsObserver(g_NotReadyDisplay, player) then 
                    textDisplayAddObserver(g_NotReadyDisplay, player) 
                    g_NotReadyDisplayOnTime = getTickCount() 
                end 
            end 
        end 
        -- Only show 'Waiting for other players...' if there actually are any other players 
        if getTotalPlayerCount() > 1 then 
            textItemSetText(g_NotReadyTextItems[1], 'Waiting for other players...' ) 
        end 
    end 
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...