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:
parent
d0bf26135c
commit
52cdbb4fc1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user