Fabioxps Posted September 23, 2013 Posted September 23, 2013 because it does not work? 39 line dxLoadingText = function(vartext, target, speed, ldo) if not smoothers[vartext] then smoothers[vartext] = "" end if not ldo then smoothers[vartext] = "" end if smoothers[vartext] == target then return false end smoothers[vartext] = string.sub(target, 1, tonumber(string.len(smoothers[vartext])) + 1) g_dxGUI[vartext]:text(tostring(smoothers[vartext])) return setTimer(dxLoadingText, speed, 1, vartext, target, speed, true) end function initRace(vehicle, checkpoints, objects, pickups, mapoptions, ranked, duration, gameoptions, mapinfo, playerInfo) outputDebug( 'MISC', 'initRace start' ) unloadAll() g_Players = getElementsByType('player') g_MapOptions = mapoptions g_GameOptions = gameoptions g_MapInfo = mapinfo g_PlayerInfo = playerInfo triggerEvent('onClientMapStarting', g_Me, mapinfo ) removeEventHandler("onClientPreRender",root, boladona) setWaveHeight ( 0 ) setHeatHaze ( 0 ) nextMapSet(false) --addEventHandler("onClientRender",getRootElement(),drawRadarS) showPlayerHudComponent ("radar",true) showPlayerHudComponent ("crosshair",true) fadeCamera(true) showHUD(false) g_Vehicle = vehicle setVehicleDamageProof(g_Vehicle, true) OverrideClient.updateVars(g_Vehicle) --local x, y, z = getElementPosition(g_Vehicle) setCameraBehindVehicle(vehicle) --alignVehicleToGround(vehicle) updateVehicleWeapons() setCloudsEnabled(g_GameOptions.cloudsenable) setBlurLevel(g_GameOptions.blurlevel) g_dxGUI.mapdisplay:visible(g_GameOptions.showmapname) if engineSetAsynchronousLoading then engineSetAsynchronousLoading( g_GameOptions.asyncloading ) end dxLoadingText("mapdisplay", "#a0ff00Map: #ffffff" .. g_MapInfo.name, 130)
Fabioxps Posted October 9, 2013 Author Posted October 9, 2013 What error are you getting? I want to load a text letter by letter not have errors
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