ZeyadGTX Posted October 23, 2014 Share Posted October 23, 2014 Can some one tell me how to make something like that To ban Country " Tunisia " " Egypt " What Functions Should i use http://i.imgur.com/6iKzd14.png Link to comment
FatalTerror Posted October 24, 2014 Share Posted October 24, 2014 Hi, Didn't know some servers ban players from specifics countries. You can find the player country using the export function from admin panel getPlayerCountry(). When the player joins the server, we check if his country matches with the list of banned countries. If it does, then we kick him or we ban him. As you want. The function is: countryCode = exports.admin:getPlayerCountry ( playerSource ) or "N/A" Hope that help you. Regards Link to comment
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