Jump to content

Country


JoZeFSvK

Recommended Posts

Posted

Hey i wanna create country in scoreboard |i dont see my country| why ? how i create that i see my country ? ( i have script but i dont see my flag)

i think

it requires an url to get the country from

so you have to upload a php script on a webserver

and just send a request to it with an ip

get the request back and set the players element data but i dont know how can you show me example or explain it to me? thank you

Posted

exports.scoreboard:scoreboardAddColumn("Country", width)

setElementData(localPlayer, "Country", ...)

Figure it out, otherwise post your script.

Posted
:( I dont know why but i dont see my country in admin panel i dont see my flag and when i join to server i see join from nil. i need fix this problem and I do not know if it is possible to adjust in game
Posted

What about make something like if getPlayerIP = .... then setElementData and Export it to scoreboard?

getPlayerIP 
"onPlayerJoin" 
setElementData 
getElementData 
exports or call  
Posted

i try that in my server u cant see ur country because u r the server host but u can see other people country because they dont host the server

Posted
The reason your admin panel is not returning your country is because its out of date, I made a tutorial on updating it, I recommend you use the automatic updater, not all flags are in the admin panel, not much I can do about that.

Tutorial:

viewtopic.php?f=148&t=56485

Recommended you use automatic.

Thank you this work :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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