All I can say is that figuring out how to develop in drupal appears to be a pretty steep learning curve. I have spent hours trying to figure out how to create tabs in my settings screen, but can't seem to get it. I added my questions as comments to the code.
Here is what I have:
function poker_menu($may_cache) {
$items = array();
if ($may_cache) {
// This part works.
$items[] = array('path' => 'poker', 'title' => t('Poker Rankings'),
'callback' => 'poker_page',
'access' => user_access('access poker'));
// This part doesn't work and I have not figured out how to activiate it.
// What I want are tabs called list players. create league, create tournament
// and add player on my settings screen.
// I have a settings function written and it appears on the admin menu under settings and works,
// but the tabs don't get created.
$items[] = array('path' => 'create_league', 'title' => t('list players'),
'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10);
$items[] = array('path' => 'add_league', 'title' => t('create league'),
'callback' => 'user_admin', 'access' => $admin_access,
'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'add_tourney', 'title' => t('create turnament'),
'callback' => 'user_admin', 'access' => $admin_access,
'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'add_player', 'title' => t('add player'),