Jump to content

Flags Sin Necesidad de Abrir Puertos


eloriginal

Recommended Posts

Perdon Por no explicar Bien :P Pero si asi como explico anzo

21 hours ago, Tomas said:

Si las imágenes están descargadas no necesitas abrir puertos.

Tomas yo las tengo descargadas pero no na respuesta la columna quena en blanco 

On 20/10/2016 at 1:37 AM, aka Blue said:

Este es un foro de scripting, no de adivinos

aka Blue no seas asi bro io se que no son adivinos pero aun quesea se un poco amable :) 

Link to comment

 Aca Esta

	 exports.scoreboard:addScoreboardColumn('Pais')
     
			function showcountry()
			local flag = exports.admin:getPlayerCountry ( source )
					 if flag then
                     setElementData(source,"Pais",":admin/client/images/flags/"..flag..".png")
                     else
                     flag = "N/A" 
                     end
             end
     addEventHandler("onPlayerJoin",getRootElement(),showcountry)
elseif column.name == "Pais" then    
                                local countryImage = ':admin/client/images/flags/'..string.lower(content)..'.png' 
                                if fileExists(countryImage) then 
                                    dxDrawImage(topX+theX,y+((1.5*dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont ))/2)-(11/2),16,11,countryImage) 
                                    dxDrawText( string.gsub(content,"#%x%x%x%x%x%x",""), topX+20+theX+s(1)+s(10),   y+s(1), topX+x+s(1+column.width),   y+s(1)+(1.5*dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )),   tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "center", true, false, drawOverGUI ) 
                                    dxDrawText(  "#FFFFFF"..content, topX+20+theX+s(10),        y,      topX+x+s(column.width),     y+(1.5*dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )),            tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "center", true, false, drawOverGUI,true ) 
                                else 
                                    dxDrawText( string.gsub(content,"#%x%x%x%x%x%x",""), topX+theX+s(1),    y+s(1), topX+x+s(1+column.width),   y+s(1)+(1.5*dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )),   tocolor( 0, 0, 0, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "center", true, false, drawOverGUI ) 
                                    dxDrawText(  "#FFFFFF"..content, topX+theX,         y,      topX+x+s(column.width),     y+(1.5*dxGetFontHeight( fontscale(contentFont, scoreboardScale), contentFont )),            tocolor( r or 255, g or 255, b or 255, a or 255 ), fontscale(contentFont, s(1)), contentFont, "left", "center", true, false, drawOverGUI,true ) 
                                end
Quote

 

Spoiler

 

 

 

Edited by eloriginal
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...