Hey are you still working on this at all? It no longer compiles using the compiler on the website.
I tried to compile it and I am getting this error:
Your plugin failed to compile! Read the errors below:
SourcePawn Compiler 1.10.0.6453
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC
/groups/sourcemod/compiler-1.10/include/sdktools_stocks.inc(50) : warning 219: local variable "name" shadows a variable at a preceding level
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(49) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(50) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(51) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(69) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(2712) : error 012: invalid function call, not a valid address
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(2712) : error 036: empty statement
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(2712) : error 017: undefined symbol "i"
/home/groups/sourcemod/upload_tmp/phpDO0DiB.sp(2712) : fatal error 190: too many error messages on one line
Compilation aborted.
4 Errors.
821642 successful compiles to date.
668081 failed compiles to date.
This is where it is choking up (Error highlighted in red):
Code:
2707 if(strcmp(info, "Permanent") == 0)
2708 {
2709 BanDuration[client] = 0;
2710 new Handle:banmenu = CreateMenu(BanHandle);
2711 SetMenuTitle(banmenu, "Select Player to Ban");
2712 for (new i = 1; i <= MaxClients(); i++)
2713 {
2714 if (IsClientInGame(i))
2715 {
2716 GetClientName(i, name, sizeof(name));
2717 AddMenuItem(banmenu, name, name);
2718 }
2719 }
2720 SetMenuExitBackButton(banmenu, true);
2721 DisplayMenu(banmenu, client, 0);
2722 }
__________________