JoZeFSvK Posted February 16, 2013 Posted February 16, 2013 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()
JoZeFSvK Posted February 16, 2013 Author Posted February 16, 2013 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 ?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now