-
Posts
127 -
Joined
-
Last visited
Everything posted by MrXz
-
No, I just want the image look better, I do not create
-
Hi all ! I did a picture for my next modification of the race but the picture is not as I want Images timeleftbg = guiCreateStaticImage(screenWidth/2-65, 0, 165, 50, 'img/timeleft.png', false, nil) Please helpme, I know it's a silly question but is the only thing I do not know D:
-
Yes, to make it look better with blod-type.. What is the code?
-
Hi All I could help with something please. is there any way for the script out in bold-type? dxDrawColorText ('#00A2FFMap: #FFFFFF' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(1.1, 'bankgothic')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.3, 'bankgothic', 0.6, 'left') and auto-set map, to automatically exit the nextmaps racevoting_server: line 525 addCommandHandler('nextmap', function( player, command, ... ) local query = #{...}>0 and table.concat({...},' ') or nil if not query then if g_ForcedNextMap then outputRace( 'Next map is ' .. getMapName( g_ForcedNextMap ), player ) else outputRace( 'Next map is not set', player ) end return end if not _TESTING and not isPlayerInACLGroup(player, g_GameOptions.admingroup) then return end local map, errormsg = findMap( query ) if not map then outputRace( errormsg, player ) return end if g_ForcedNextMap == map then outputRace( 'Next map is already set to ' .. getMapName( g_ForcedNextMap ), player ) return end g_ForcedNextMap = map outputChatBox('*#FF9900Nextmap: #FF0000Next map set to#FFFFFF ' .. getMapName( g_ForcedNextMap ) .. ' #FF9900by#FFFFFF ' .. _getPlayerName(player), getRootElement(), 255, 255, 255, true) triggerClientEvent("setNextMap", getRootElement(), getMapName(g_ForcedNextMap)) end ) End of File: addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function() triggerClientEvent("setNextNil", getRootElement()) end) Please Help !
-
Very Very Nice .. ;D! God Job
-
La Imagen esta Buenisima ! con el tiempo te saldra igual a la imagen original .. Suerte ^^!
-
¿porq cuando voy a abrir un map no abe?
MrXz replied to BlackFun's topic in Ayuda relacionada al cliente/servidor
Te recomiendo que borres los archivos : editor_dump y editor_test, aveces al poner test a un map .. estos se bugean .. Ubicacion: server\mods\deathmatch\resources por Defecto No es necesario que reinstales el MTA, pues si tienes tu map guardado y borras los dos archivos que te dije, abres tu map normal y sale ^^ -
Skrillex es un DJ que hace Musica Electronica, Drum and Bass y Dubstep PD: no es un Grupo de DJ's Aqui una de sus mezclas :3
-
Use this Script function SToptimesManager:playerFinished( player, newTime, dateRecorded ) -- Check if top time recording is disabled for this player if getElementData ( player, "toptimes" ) == "off" then return end if not self.mapTimes then outputDebug( 'TOPTIMES', 'SToptimesManager:playerFinished - self.mapTimes == nil' ) return end dateRecorded = dateRecorded or getRealDateTimeNowString() local oldTime = self.mapTimes:getTimeForPlayer( player ) -- Can be false if no previous time local newPos = self.mapTimes:getPositionForTime( newTime, dateRecorded ) -- See if time is an improvement for this player if not oldTime or newTime < oldTime then local oldPos = self.mapTimes:getIndexForPlayer( player ) triggerEvent("onPlayerToptimeImprovement", player, newPos, newTime, oldPos, oldTime, self.displayTopCount, self.mapTimes:getValidEntryCount() ) -- See if its in the top display if newPos <= self.displayTopCount then outputChatBox( '*#DE00FF*[TOPTIME]: #FFFFFF' .. getPlayerName(source) .. ' #FF9305got toptime position #FFFFFF' .. newPos .. ' #FF0000[Time: ' .. SMaptimes:timeMsToTimeText(newTime) .. ']', root, 2, 255, 2, true) end if oldTime then outputDebug( '#DE00FF*[TOPTIME]: #FFFFFF' .. getPlayerName(source) .. ' #FF9305got toptime position #FFFFFF' .. newPos .. ' #FF0000[Time: ' .. SMaptimes:timeMsToTimeText(newTime) .. ']', root, 2, 255, 2, true) end self.mapTimes:setTimeForPlayer( player, newTime, dateRecorded ) -- updateTopText if database was changed if newPos <= self.displayTopCount then self:updateTopText() end end outputDebug( 'TOPTIMES', '++ SToptimesManager:playerFinished ' .. tostring(getPlayerName(player)) .. ' time:' .. tostring(newTime) ) end
-
I'm saying is that when I put a map in nextmap, and I redo the map is at stake, nextmap appears in "Random" and not the map that was in nextmap, check images function hudSet () local screenWidth, screenHeight = guiGetScreenSize() dxDrawColorText ('#9900FFNext: #FFFFFF' .. g_NextMap, 2, screenHeight - dxGetFontHeight(0.7, 'bankgothic')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 0.3, 'bankgothic', 0.6, 'left')
-
Visit this Post : viewtopic.php?f=91&t=39626
-
Hi all ... Well, the problem is when I put a map in setmap, and then I redo this map in set, it disappears I've seen in some servers nextmap appears in the map below Help .. Scripts: racevoting_server.lua - Seach 'nextmap' addCommandHandler('nextmap', function( player, command, ... ) local query = #{...}>0 and table.concat({...},' ') or nil if not query then if g_ForcedNextMap then outputRace( 'Next map is ' .. getMapName( g_ForcedNextMap ), player ) else outputRace('Next map is not set', player, 1, 139, 245, true) end return end if not _TESTING and not isPlayerInACLGroup(player, g_GameOptions.admingroup) then return end local map, errormsg = findMap( query ) if not map then outputRace( errormsg, player ) return end if g_ForcedNextMap == map then outputRace( 'Next map is already set to ' .. getMapName( g_ForcedNextMap ), player ) return end g_ForcedNextMap = map outputChatBox('*Nextmap: #00B7FF' .. getMapName( g_ForcedNextMap ) .. ' #FFFFFFby ' .. getPlayerName( player ), g_Root, 255, 255, 255, true) triggerClientEvent("setNextMap", getRootElement(), getMapName(g_ForcedNextMap)) end ) racevoting_server.lua - end of the file. addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(), function() triggerClientEvent("setNextNil", getRootElement()) end)
-
Very Nice ;3 .. Good Job ! Enviame tu map >;O!
-
Result .. not work.. if you want, I sent the file for review
-
Line 705 - dxscoreboard_client.lua?
-
That Line? and that script?
-
-=I Blaawee I=-, I did everything I said, but did not work =/ Line 705 before else dxDrawText( content, topX+theX+s(1), y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( content, topX+theX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) end Line 705 after modifying else elseif column.name == "Home" then dxDrawImage( topX+theX, y+s(1), 16, 11, content, 0, 0, 0, cWhite, drawOverGUI) dxDrawText( content, topX+theX+s(1), y+s(1), topX+x+s(1+column.width), y+s(11)+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) dxDrawText( content, topX+theX, y, topX+x+s(column.width), y+dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ), tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "top", true, false, drawOverGUI ) end
-
elseif column.name == "Country" then if content ~= "N/A" then local countryImage = "flags/"..string.lower(content)..".png" dxDrawImage(topX+theX, y+s(1)-2, 16, 16, countryImage,0,0,0,tocolor( 255,255,255,255 ), true) I add this on line 175 ?