Jump to content

Flags Sin Necesidad de Abrir Puertos


eloriginal

Recommended Posts

Posted

Creo que quiere que las banderas de los países aparezcan sin necesidad de abrir los puertos, yo nunca probé así que no sé xd. 

Posted

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 :) 

Posted (edited)

 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
Posted
On 23/10/2016 at 10:21 AM, Tomas said:

Estás usando Hamachi?

No Bo por ahora uso Play

On 21/10/2016 at 11:21 AM, aka Blue said:

Te lo he dicho normal, debes explicarte mejor, son las normas del foro :) 

Tranquilo bro todos somos family xD:P 

  • Recently Browsing   0 members

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