Arsilex Posted October 7, 2012 Share Posted October 7, 2012 local country = getElementData(source,"Country") local imgPath = ":admin/client/images/flags/"..tostring(country)..".png" dxDrawImage(520.0,58.0,20.0,20.0,tostring(imgPath),0.0,0.0,0.0,tocolor(255,255,255,255),false) por que eso me tira que no se encontro la IMG ? Link to comment
NodZen Posted October 8, 2012 Share Posted October 8, 2012 Estas seguro que esa es la direccion?... Tenes que probar asi exports[ "admin" ]:getPlayerCountry ( source ) es getPlayerCountry Link to comment
Arsilex Posted October 8, 2012 Author Share Posted October 8, 2012 Aver que el pais me lo saca bien lo que me dice es que no se encontro la img.... Link to comment
BorderLine Posted October 8, 2012 Share Posted October 8, 2012 intenta esto local country = getElementData(getLocalPlayer(),"Country") local flag = ":admin/client/images/flags/"..country..".png" dxDrawImage(520.0,58.0,20.0,20.0,flag) Link to comment
Recommended Posts