SqlManager API + native IpToCountry

Need some nice Mods? Here, you are right!
Post Reply
Chris
Experienced
Posts: 134
Joined: Mon Nov 24, 2014 9:27 am

SqlManager API + native IpToCountry

Post by Chris »

Hello everyone!

Well so I had some leftover time during halloween and messed around with MySQL a bit.
So I thought why not allow MySQL support for UScript?
While I was at it, I also implemented a separate function for IpToCountry.
Simply call the function using an IP address as the first argument and in return you'll get a country name.

Please check the code examples provided in the package.
Feel free to use this in any way you want, all sourcecode has been included in the package aswell.

Regards Chris.
Attachments
SqlManager.rar
(17.61 MiB) Downloaded 87 times
Post Reply