Fix sm_help erroring out if invoked during the connection process (#723)

* Fix "Exception reported: Client 12 is not in game"

* Fix

* Update adminhelp.sp
This commit is contained in:
komashchenko
2018-07-12 11:18:57 -07:00
committed by Kyle Sanderson
parent d0bf26135c
commit 52cdbb4fc1
+5
View File
@@ -58,6 +58,11 @@ public void OnPluginStart()
public Action HelpCmd(int client, int args)
{
if (client && !IsClientInGame(client))
{
return Plugin_Handled;
}
char arg[64], CmdName[20];
int PageNum = 1;
bool DoSearch;