John Smith Posted January 17, 2015 Posted January 17, 2015 hi exports.admin:getPlayerCountry(localPlayer) error: failed to call: 'admin:getPlayerCountry' [string "?"] admin resource is running and not corrupted. anyone knows why is this happening?
MTA Team botder Posted January 17, 2015 MTA Team Posted January 17, 2015 It's probably a serverside function and does not exist clientside.
John Smith Posted January 17, 2015 Author Posted January 17, 2015 no, it works clientsidedly because i once made my own scoreboard and used this function without modifying admin resource on runcode both clientsided and serversided return false only issue that i see could be causing this is me having local ip(e.g 192.168.1.1) could that thing cause issues?
Gallardo9944 Posted January 17, 2015 Posted January 17, 2015 You can get countries only from external IPs. Your one is internal cause apparently the server runs in your local network.
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