codeluaeveryday Posted July 3, 2013 Share Posted July 3, 2013 Hey guys, thought I'd share this with the loving community of MTA. I know the current admin panel lacks some flags, so I spoke to a friend about it, I had the idea of finding the flags and adding them manually, then I thought it would takes ages, then he made a basic Lua code to process all the files and sort them. This will basically allow you to be able to have more flags on your server, if you use this on top of the 'TUT] Updating Admin Countries' everyone will have a flag. Steps Download these flags Extract all the images into the ':admin/client/images/flags' folder. Open up the meta.xml and remove the old tags for the flags only. Add these to the meta.xml:"client/images/flags/ad.png" /> "client/images/flags/ae.png" /> "client/images/flags/af.png" /> "client/images/flags/ag.png" /> "client/images/flags/ai.png" /> "client/images/flags/al.png" /> "client/images/flags/am.png" /> "client/images/flags/an.png" /> "client/images/flags/ao.png" /> "client/images/flags/ar.png" /> "client/images/flags/as.png" /> "client/images/flags/at.png" /> "client/images/flags/au.png" /> "client/images/flags/aw.png" /> "client/images/flags/ax.png" /> "client/images/flags/az.png" /> "client/images/flags/ba.png" /> "client/images/flags/bb.png" /> "client/images/flags/bd.png" /> "client/images/flags/be.png" /> "client/images/flags/bf.png" /> "client/images/flags/bg.png" /> "client/images/flags/bh.png" /> "client/images/flags/bi.png" /> "client/images/flags/bj.png" /> "client/images/flags/bm.png" /> "client/images/flags/bn.png" /> "client/images/flags/bo.png" /> "client/images/flags/br.png" /> "client/images/flags/bs.png" /> "client/images/flags/bt.png" /> "client/images/flags/bv.png" /> "client/images/flags/bw.png" /> "client/images/flags/by.png" /> "client/images/flags/bz.png" /> "client/images/flags/ca.png" /> "client/images/flags/cc.png" /> "client/images/flags/cd.png" /> "client/images/flags/cf.png" /> "client/images/flags/cg.png" /> "client/images/flags/ch.png" /> "client/images/flags/ci.png" /> "client/images/flags/ck.png" /> "client/images/flags/cl.png" /> "client/images/flags/cm.png" /> "client/images/flags/cn.png" /> "client/images/flags/co.png" /> "client/images/flags/cr.png" /> "client/images/flags/cs.png" /> "client/images/flags/cu.png" /> "client/images/flags/cv.png" /> "client/images/flags/cx.png" /> "client/images/flags/cy.png" /> "client/images/flags/cz.png" /> "client/images/flags/de.png" /> "client/images/flags/dj.png" /> "client/images/flags/dk.png" /> "client/images/flags/dm.png" /> "client/images/flags/do.png" /> "client/images/flags/dz.png" /> "client/images/flags/ec.png" /> "client/images/flags/ee.png" /> "client/images/flags/eg.png" /> "client/images/flags/eh.png" /> "client/images/flags/er.png" /> "client/images/flags/es.png" /> "client/images/flags/et.png" /> "client/images/flags/fi.png" /> "client/images/flags/fj.png" /> "client/images/flags/fk.png" /> "client/images/flags/fm.png" /> "client/images/flags/fo.png" /> "client/images/flags/fr.png" /> "client/images/flags/ga.png" /> "client/images/flags/gb.png" /> "client/images/flags/gd.png" /> "client/images/flags/ge.png" /> "client/images/flags/gf.png" /> "client/images/flags/gh.png" /> "client/images/flags/gi.png" /> "client/images/flags/gl.png" /> "client/images/flags/gm.png" /> "client/images/flags/gn.png" /> "client/images/flags/gp.png" /> "client/images/flags/gq.png" /> "client/images/flags/gr.png" /> "client/images/flags/gs.png" /> "client/images/flags/gt.png" /> "client/images/flags/gu.png" /> "client/images/flags/gw.png" /> "client/images/flags/gy.png" /> "client/images/flags/hk.png" /> "client/images/flags/hm.png" /> "client/images/flags/hn.png" /> "client/images/flags/hr.png" /> "client/images/flags/ht.png" /> "client/images/flags/hu.png" /> "client/images/flags/id.png" /> "client/images/flags/ie.png" /> "client/images/flags/il.png" /> "client/images/flags/in.png" /> "client/images/flags/io.png" /> "client/images/flags/iq.png" /> "client/images/flags/ir.png" /> "client/images/flags/is.png" /> "client/images/flags/it.png" /> "client/images/flags/jm.png" /> "client/images/flags/jo.png" /> "client/images/flags/jp.png" /> "client/images/flags/ke.png" /> "client/images/flags/kg.png" /> "client/images/flags/kh.png" /> "client/images/flags/ki.png" /> "client/images/flags/km.png" /> "client/images/flags/kn.png" /> "client/images/flags/kp.png" /> "client/images/flags/kr.png" /> "client/images/flags/kw.png" /> "client/images/flags/ky.png" /> "client/images/flags/kz.png" /> "client/images/flags/la.png" /> "client/images/flags/lb.png" /> "client/images/flags/lc.png" /> "client/images/flags/li.png" /> "client/images/flags/lk.png" /> 1 Link to comment
codeluaeveryday Posted July 4, 2013 Author Share Posted July 4, 2013 Thank you all so much for your feedback! If you find any bug with the codes provided please let me know. Link to comment
codeluaeveryday Posted July 17, 2013 Author Share Posted July 17, 2013 Your welcome! Guys I'd like to make more tutorials, suggest some too me Link to comment
xTravax Posted July 17, 2013 Share Posted July 17, 2013 Your welcome! Guys I'd like to make more tutorials, suggest some too me make tutorial how to open ports for server it would be useful for much people Link to comment
Mossy Posted July 17, 2013 Share Posted July 17, 2013 Your welcome! Guys I'd like to make more tutorials, suggest some too me make tutorial how to open ports for server it would be useful for much people Isn't there already one? If not then I can make one. Link to comment
codeluaeveryday Posted July 18, 2013 Author Share Posted July 18, 2013 I'm not the best person for opening up ports, my ISP doesn't allow us to open those connections, so unfortunatly I am unable to host a server on this network. Link to comment
xXMADEXx Posted July 18, 2013 Share Posted July 18, 2013 k001, just updated them thanks. Link to comment
arbna.us Posted December 10, 2013 Share Posted December 10, 2013 thanks , I will use that Link to comment
Woovie Posted April 4, 2014 Share Posted April 4, 2014 If the flags match the style of the default ones, I'd be more than glad to apply this officially. Link to comment
Recommended Posts