Kick by timezone
GeoIP+ (v1.3): https://forums.alliedmods.net/showthread.php?t=95665
Country Kicker: https://forums.alliedmods.net/showthread.php?t=11412 GeoIP 1.3 allows finding players timezone. Could country kicker be changed to timezone kicker? Only allowing a few timezones in the server? |
Re: Kick by timezone
Quote:
A couple of questions Are you using Amxx 1.8.3? Do you want time zone or state? I'm asking because of your post in the country kicker thread. Code:
Time Zone: America/Chicago |
Re: Kick by timezone
Hey wickedd!! I am using AMXX 1.8.3, and thanks for asking about by states I think it would be way better.
|
Re: Kick by timezone
You don't need the GeoIP module since you're using 1.8.3, it's already include. However, you still need GeoLite2 City.
Download the binary and install it in addons/amxmodx/data folder. Here you go PHP Code:
|
Re: Kick by timezone
Thanks wickedd, could it be changed to whitelist states instead of blocking states?
|
Re: Kick by timezone
Quote:
|
Re: Kick by timezone
Quote:
|
Re: Kick by timezone
charsmax( szStates[] ) -1
:arrow: charsmax( szStates[] ) Theres no need for the minus 1 if youre using charsmax |
Re: Kick by timezone
Quote:
Code:
native geoip_region_name(const ip[], result[], len, id = -1) |
Re: Kick by timezone
Wickedd I'm getting some compiling errors, I'm using version AMXX 1.8.3 3918, an older one. Could this be the cause?
Code:
//// skicker22.sma |
| All times are GMT -4. The time now is 00:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.