get players depending on the action