Jump to content

Flag changer


GRispro

Recommended Posts

Posted

Hello everybody.My name is GRispro and I'd like to ask you If there is someone who can help me about something I want to make.Well it is a script(resource) which can change country flag in scoreboard.It is connected with the ACL and oonly from there or via a command you can change your flag.Ex My country is GR but I wanna change it without using VPN so with this script,I open ACL choose the country I want (ex Trinidad & Tobago (TT)) and then the scoreboeard show that I am from TT.The thing is that I dont know very good lua scripting yet.Is there anyone who can help me?Please help me

Best regards,

GRispro.

Posted

The default scoreboard doesn't support flags. Yours must be edited.

So how can we help you if we don't know what you're using to get someone's country? The admin panel maybe?

Posted

Make a command that changes the country to whatever you want.

addCommandHandler('country', function(player, _, country) 
 if (not country) then return end 
 setElementData(player, 'Country', country) 
end) 

Posted

How to make a command?Please excuse me but as I said I don't know lua scripting so I paste that code in notepad and save it as Lua file(client or server?) do I have to connect this Lua file with meta.xml?Or none of them?

  • Recently Browsing   0 members

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