I have Gm 1.5.1 it dont have IP ban
In gm 1.6 it has IP ban but GM 1.6 is buggy
I want someone to add IP ban in GM 1.5.1
If possible to make STEAMID+IP thats much better for Gm 1.5.1
Please anyone help me
Thanks
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Napisano 25.09.2015 01:11
I have Gm 1.5.1 it dont have IP ban
In gm 1.6 it has IP ban but GM 1.6 is buggy
I want someone to add IP ban in GM 1.5.1
If possible to make STEAMID+IP thats much better for Gm 1.5.1
Please anyone help me
Thanks
Napisano 25.09.2015 02:25
ill Pay for IP BAN for GM 1.5.1
ill pay more if it is STEAMID+IP for GM 1.5.1
STEAM GAMES or PAYPAL money or anything
If you do it dont post it here, send me files on steam
ADD ME: www.steamcommunity.com/id/lgkbotz
Użytkownik botz edytował ten post 25.09.2015 02:26
Napisano 25.09.2015 04:33
I already have that but that doesnt have even if you subsitude STEAMID people can still change it + HLTV thing i already fixed so i did what u did there
but i need this STEAMID + IP Ban
I have Gm 1.5.1 it dont have IP ban
In gm 1.6 it has IP ban but GM 1.6 is buggy
I want someone to add IP ban in GM 1.5.1
If possible to make STEAMID+IP thats much better for Gm 1.5.1
ill Pay for IP BAN for GM 1.5.1
ill pay more if it is STEAMID+IP for GM 1.5.1
STEAM GAMES or PAYPAL money or anything
If you do it dont post it here, send me files on steam
ADD ME: www.steamcommunity.com/id/lgkbotz
Thanks
Napisano 25.09.2015 12:18
public cmdAddBan(id, level, cid)
{
if (!cmd_access(id, level, cid, 3, true)) // check for ADMIN_BAN access
{
if (get_user_flags(id) & level) // Getting here means they didn't input enough args
{
return PLUGIN_HANDLED;
}
if (!cmd_access(id, ADMIN_RCON, cid, 3)) // If somehow they have ADMIN_RCON without ADMIN_BAN, continue
{
return PLUGIN_HANDLED;
}
}
new arg[32], authid[32], name[32], minutes[32], reason[32]
read_argv(1, arg, 31)
read_argv(2, minutes, 31)
read_argv(3, reason, 31)
/*
if (!(get_user_flags(id) & ADMIN_RCON))
{
new bool:canban = false;
new bool:isip = false;
// Limited access to this command
if (equali(arg, "STEAM_ID_PENDING") ||
equali(arg, "STEAM_ID_LAN") ||
equali(arg, "HLTV") ||
equali(arg, "4294967295") ||
equali(arg, "VALVE_ID_LAN") ||
equali(arg, "VALVE_ID_PENDING"))
{
// Hopefully we never get here, so ML shouldn't be needed
console_print(id, "Cannot ban %s", arg);
return PLUGIN_HANDLED;
}
if (contain(arg, ".") != -1)
{
isip = true;
}
// Scan the disconnection queue
if (isip)
{
new IP[32];
new Name[32];
new dummy[1];
new Access;
for (new i = 0; i < g_Size; i++)
{
GetInfo(i, Name, charsmax(Name), dummy, 0, IP, charsmax(IP), Access);
if (equal(IP, arg))
{
if (Access & ADMIN_IMMUNITY)
{
console_print(id, "[AMXX] %s : %L", IP, id, "CLIENT_IMM", Name);
return PLUGIN_HANDLED;
}
// User did not have immunity
canban = true;
}
}
}
else
{
new Auth[32];
new Name[32];
new dummy[1];
new Access;
for (new i = 0; i < g_Size; i++)
{
GetInfo(i, Name, charsmax(Name), Auth, charsmax(Auth), dummy, 0, Access);
if (equal(Auth, arg))
{
if (Access & ADMIN_IMMUNITY)
{
console_print(id, "[AMXX] %s : %L", Auth, id, "CLIENT_IMM", Name);
return PLUGIN_HANDLED;
}
// User did not have immunity
canban = true;
}
}
}
if (!canban)
{
console_print(id, "[AMXX] You may only ban recently disconnected clients. Use ^"amx_last^" to view.");
return PLUGIN_HANDLED;
}
}
*/
// User has access to ban their target
if (contain(arg, ".") != -1)
{
server_cmd("addip ^"%s^" ^"%s^";wait;writeip", minutes, arg)
console_print(id, "[AMXX] Ip ^"%s^" added to ban list", arg)
} else {
//server_cmd("banid ^"%s^" ^"%s^";wait;writeid", minutes, arg) // Original code
server_cmd("banid %s %s;wait;writeid", minutes, arg) // 'Fix' for Steam Update
console_print(id, "[AMXX] Authid ^"%s^" added to ban list", arg)
}
get_user_name(id, name, 31)
show_activity_key("ADMIN_ADDBAN_1", "ADMIN_ADDBAN_2", name, arg);
get_user_authid(id, authid, 31)
log_amx("Cmd: ^"%s<%d><%s><>^" ban ^"%s^" (minutes ^"%s^") (reason ^"%s^")", name, get_user_userid(id), authid, arg, minutes, reason)
return PLUGIN_HANDLED
}
Użytkownik qrNt edytował ten post 25.09.2015 12:22
Napisano 25.09.2015 20:01
So i have AMXBans GM 1.5.1
My Non steamers id is VALVE_2:0
and for some non steamers its VALVE_4:4
Will it ban them all for STEAM and IP? and Where do i edit this code?
Thanks alot for helping as soon as its done ill get u it add me on steam if u can
Napisano 25.09.2015 21:51
code add to your amxbans
Użytkownik qrNt edytował ten post 25.09.2015 21:56
Napisano 25.09.2015 22:03
Does it ban STEAMID and IP both??
Napisano 25.09.2015 23:19
yes IP + STEAM automatic
Użytkownik qrNt edytował ten post 25.09.2015 23:20
Napisano 26.09.2015 00:44
I need help adding this, can you please add me on steam
steamcommunity.com/id/lgkbotz
if this works i would like to directly pay from steam instead of asking here
Napisano 27.09.2015 02:07
This is wrong u just copied admincmd.amxx CODE and ur asking me to add it in amxbans u seriously kidding me?
Anyone else please?
ill pay if someone gets me STEAMID+IP Ban for GM 1.5.1
STEAM GAMES or PAYPAL money or anything
If you do it dont post it here, send me files on steam
ADD ME: www.steamcommunity.com/id/lgkbotz
GmAMXBans
Amxbans www? freshbansgmAMXBans 1.6 Napisany przez skArp, 04.11.2024 ![]() |
|
![]() |
|||
GmAMXBans
Problem z AmxBans PHP 8Napisany przez Adriann, 23.10.2024 ![]() |
|
![]() |
|||
GmAMXBans
AMX Bans GM 1.6 (WEB) - PHP 8Przerobiona wersja skryptu AmxBans z PHP 5 na PHP 8 Napisany przez l3szcz, 04.10.2024 ![]() |
|
![]() |
|||
GmAMXBans
Pomocy AMXBANSpomoc w instalacji Napisany przez Hiero, 23.07.2024 ![]() |
|
![]() |
|||
![]() |
GmAMXBans
[KOSZ] cheaterNapisany przez Anonimowy09, 29.03.2024 ![]() |
|
![]() |
0 użytkowników, 0 gości, 0 anonimowych