Skip to content

Commit

Permalink
menu: finally checkplayer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shanapu committed Jun 29, 2016
1 parent 9ddb280 commit 65f1835
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions addons/sourcemod/scripting/MyJailbreak/menu.sp
Expand Up @@ -611,6 +611,10 @@ public int JBMenuHandler(Menu mainmenu, MenuAction action, int client, int selec
{
FakeClientCommand(client, "sm_killrandom");
}
else if ( strcmp(info,"check") == 0 )
{
FakeClientCommand(client, "sm_checkplayers");
}
else if ( strcmp(info,"getwarden") == 0 )
{
FakeClientCommand(client, "sm_warden");
Expand Down Expand Up @@ -677,14 +681,6 @@ public int JBMenuHandler(Menu mainmenu, MenuAction action, int client, int selec
JbMenu(client,0);
}
}
else if ( strcmp(info,"check") == 0 )
{
FakeClientCommand(client, "sm_checkplayers");
if(!gc_bClose.BoolValue)
{
JbMenu(client,0);
}
}
else if ( strcmp(info,"guard") == 0 )
{
FakeClientCommand(client, "sm_guard");
Expand Down

0 comments on commit 65f1835

Please sign in to comment.