ExtremeSB Posted March 4, 2014 Share Posted March 4, 2014 Alguem me pode disser como se coloca flag na scoreboard, se me podessem dar um script que funcione e como instalalo, ja tentei muitos mas nenhum funciona Link to comment
manawydan Posted March 4, 2014 Share Posted March 4, 2014 flag? tipo quantos mato e quantos morreu? Link to comment
manawydan Posted March 4, 2014 Share Posted March 4, 2014 tente isso nao testado local Mortes = {} local Assaninatos = {} addEventHandler("onPlayerConnect",root, function() Mortes.source = 0 Assaninatos.source = 0 end) addEventHandler("onPlayerWasted",root, function(_,killer) Mortes.source = Mortes.source +1 if killer then Assaninatos.killer = Assaninatos.killer +1 end local flag = Assaninatos.killer - Mortes.killer setElementData(killer,"Flag",flag) local flag2 = Assaninatos.source - Mortes.source setElementData(source,"Flag",flag2) end) de start e reconect Link to comment
ExtremeSB Posted March 4, 2014 Author Share Posted March 4, 2014 Flag para ver os países das pessoas Link to comment
manawydan Posted March 4, 2014 Share Posted March 4, 2014 o mod adm ou admin tem uma função acho q getPlayerCountry so usa ela junto com setElementData Link to comment
DNL291 Posted March 4, 2014 Share Posted March 4, 2014 Você tem que ter o scoreboard modificado para essa finalidade. EDIT Aqui o link: https://community.multitheftauto.com/in ... ls&id=4019 Link to comment
RenanPG Posted March 4, 2014 Share Posted March 4, 2014 sobstitua o scoreboard padrão do mta por esse: http://www.mediafire.com/?ca68kne6aq1dhkb e depois coloca https://community.multitheftauto.com/modules/resources/doDownload.php?file=flag_sc_1.0.0.zip&name=flag_sc.zip OBS. + Use o admin panel mais atual, pois as flags são obtidas dele. + E jogando em modo local ele não mostra o pais. (somente servers hostiado em ip externo) Link to comment
ExtremeSB Posted March 5, 2014 Author Share Posted March 5, 2014 Ja funcionou obrigado Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now