10.03.2014, 02:21
Hello
Im interested by the script who check the country of players.
There are https://sampforum.blast.hk/showthread.php?tid=32509 old and use a plugin and .dat
and https://sampforum.blast.hk/showthread.php?tid=296171&page=2 can to use mysql ( I want it ) but the author say "I highly recommend you dont use mysql!" I need to +- 80.000 lines mysql for it and this command
I don't want a script who to connect on a website for to check the country.
What's the better? fast? less memory/cpu usage? for more 150 players.
Regards.
Im interested by the script who check the country of players.
There are https://sampforum.blast.hk/showthread.php?tid=32509 old and use a plugin and .dat
and https://sampforum.blast.hk/showthread.php?tid=296171&page=2 can to use mysql ( I want it ) but the author say "I highly recommend you dont use mysql!" I need to +- 80.000 lines mysql for it and this command
Код:
format(string, sizeof(string), "SELECT cn FROM ip_country WHERE ip_to >= INET_ATON(\"%s\") ORDER BY ip_to ASC LIMIT 1", ip);
What's the better? fast? less memory/cpu usage? for more 150 players.
Regards.