View Single Post
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 11-07-2017 , 12:50   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1408

Quote:
Originally Posted by ZEDD_Intensity View Post
Greetings,

Thanks for your incredible contribution, Exolent.

Just a quick easy edit that I'd like to make in the Plugin is,

When someone is banned, I do not want the plugin to show "Admin SteamID" in the console. Everything else looks good but, just not the Admin SteamID.

I tried removing the #defines for that, but I think that'd be absurd to do as it might be easier to just remove the print codes for Console.

Code:
#define TABLE_NAME		"advanced_bans"
#define KEY_NAME		"name"
#define KEY_STEAMID		"steamid"
#define KEY_BANLENGTH		"banlength"
#define KEY_UNBANTIME		"unbantime"
#define KEY_REASON		"reason"
#define KEY_ADMIN_NAME		"admin_name"
#define KEY_ADMIN_STEAMID	"admin_steamid"
Code:
new g_names[MAX_BANS][32];
new g_steamids[MAX_BANS][35];
new g_banlengths[MAX_BANS];
new g_unbantimes[MAX_BANS][32];
new g_reasons[MAX_BANS][128];
new g_admin_names[MAX_BANS][64];
new g_admin_steamids[MAX_BANS][35];
Hope that makes sense.
Warm Regards,
ZEDD
Why do you want to do that? steam id won't help banned player, otherwise when you are using dproto/reunion.
__________________

Last edited by Ayman Khaled; 11-07-2017 at 12:55.
Ayman Khaled is offline