public Action:OnPlayerRunCmd(client, &buttons){ if (buttons & +attack2) { // do that } else if (buttons & -attack2) { // do that}