JoZeFSvK Posted April 7, 2013 Posted April 7, 2013 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
MIKI785 Posted April 7, 2013 Posted April 7, 2013 What? Why would you do it via PHP if admin resource exports getPlayerCountry?
Ab-47 Posted April 7, 2013 Posted April 7, 2013 exports.scoreboard:scoreboardAddColumn("Country", width) setElementData(localPlayer, "Country", ...) Figure it out, otherwise post your script.
JoZeFSvK Posted April 7, 2013 Author Posted April 7, 2013 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
iPrestege Posted April 7, 2013 Posted April 7, 2013 What about make something like if getPlayerIP = .... then setElementData and Export it to scoreboard? getPlayerIP "onPlayerJoin" setElementData getElementData exports or call
MuStAfA Posted April 7, 2013 Posted April 7, 2013 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
codeluaeveryday Posted April 8, 2013 Posted April 8, 2013 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.
JoZeFSvK Posted April 13, 2013 Author Posted April 13, 2013 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
codeluaeveryday Posted April 13, 2013 Posted April 13, 2013 No problem, I did make the update for it.
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