25.09.2012, 16:49
Quote:
Here's a use: I have the GeoIP plugin, and often players connect with an un-listed IP so GeoIP just returns a blank country name, in this case I have a randomiser that chooses from: Liberty City, Mordor, Narnia, Mars... and a few more random places, you could use it for that!
|
Or, for example, if a player is entering a country name in a dialog box, you can loop through the whole array and find similar matches, then display them to the player.
I've been tampering with that huge array for a while now. :S