Jump to content

Race ... base.lua


JoZeFSvK

Recommended Posts

Hey i wanna create dx tex but i have problem

function RaceMode.endMap() 
    if stateAllowsPostFinish() then 
        gotoState('PostFinish') 
        local text = g_GameOptions.randommaps and 'Next map starts in:' or 'Vote for next map starts in:' 
        Countdown.create = dxDrawText(5, RaceMode.startNextMapSelect, text, 255, 255, 255,'default-bold', 1, 2.8):start() 
        triggerEvent('onPostFinish', g_Root) 
    end 
end 
  

this is good ? or

Countdown.create = dxDrawText(5, RaceMode.startNextMapSelect, text, 255, 255, 255,'default-bold', 1, 2.8):start() 

Link to comment

i try write this but i dont know ..

local dx = dxDrawText(g_GameOptions.randommaps and 'Next map starts in or 'Vote for next map starts in:' 
" )'default-bold',255,255,255) 
  
 

i must use ("..g_GameOptions.randommaps and.. "Next map starts in" or "Vote for next map starts in:" .......

or this is only in outputchatbox ?

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