Hello, I'm trying to edit basebans.sp file, because I have a big problem with cracked server bans
New crack changes pending id to steam_0:0:0 so I can ban players only in rcon with sm_banip command.
Compiler error:
basebans.sp(240) : error 033: array must be indexed (variable "authid")
basebans.sp(281) : error 033: array must be indexed (variable "arg")
Script:
Quote:
if (strncmp(authid, "STEAM_0:", 8) != 0 || authid == "STEAM_0:0:0")
{
ReplyToCommand(client, "[SM] %t", "Invalid SteamID specified");
return Plugin_Handled;
}
and line 281:
if (strncmp(arg, "STEAM_0:", 8) == 0 || arg != "STEAM_0:0:0")
{
ban_flags |= BANFLAG_AUTHID;
}
else
{
ban_flags |= BANFLAG_IP;
}
|
I dont understand where is problem, because I worked only wih php, and dont know what is this programming language.
Please help