fucked up the parameters
This commit is contained in:
parent
5f04a2f76a
commit
0165361efc
@ -276,7 +276,10 @@ public void sql_select_sb_bans(Database db, DBResultSet results, const char[] er
|
|||||||
char message[1024];
|
char message[1024];
|
||||||
Format(message, sizeof(message), "Ban avoiding (Jenz ban detector). SteamID avoiding ban: %s", sSID);
|
Format(message, sizeof(message), "Ban avoiding (Jenz ban detector). SteamID avoiding ban: %s", sSID);
|
||||||
//instead of permaban now just banning the alt account for circa 3 months.
|
//instead of permaban now just banning the alt account for circa 3 months.
|
||||||
SBPP_BanPlayer(131487, client, 0, message);
|
SBPP_BanPlayer(0, client, 131487, message);
|
||||||
|
//first parameter is client doing the ban, should be 0 so its console.
|
||||||
|
//second parameter is the target getting banned
|
||||||
|
//third parameter was the actual timevalue.
|
||||||
}
|
}
|
||||||
delete results;
|
delete results;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user