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? If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
MTA Team botder Posted January 17, 2015 MTA Team Posted January 17, 2015 It's probably a serverside function and does not exist clientside. GitHub: Debug Console • MTA-Discord Relay Scripting: How to draw a line chart with DirectX functions? • Doppler Effect in MTA • Get the client's FPS • Customizable Blur Shader
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? If you find my post useful or if it helped you, please like my post Ingame name: ZoeN
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. Code Debugger - Minimalistic MTA debug line replacement
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