Automatycznie Pomija graczy którzy mają Sloty, wystarczy wejść w kod pluginu i zobaczyć.
if(IsLeader == 1 && lastId > 0 && lastFrags > NextLeaderFRAGS && !access(lastId, ADMIN_RESERVATION)){
new nlname[32], formatOne[256], formatTwo[256]
get_user_name(lastId, nlname, 31)
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Mamy nowego Map Lidera! (%s) ktory ustrzelil: %i fragow i jest lepszy od: %s.", nlname, lastFrags, LeaderNICK)
formatex(formatTwo, 255, "^x04[RESERVATION SLOT]^x01 %s dostal ^x04Slot Rezerwacji^x01.", nlname)
colored_msgAll(formatOne)
colored_msgAll(formatTwo)
setLeader(lastId)
} else if(IsLeader == 0 && lastId > 0 && lastFrags > MinimumLeaderFrags && !access(lastId, ADMIN_RESERVATION)){
new nlname[32], formatOne[256], formatTwo[256]
get_user_name(lastId, nlname, 31)
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Mamy nowego Lidera na Mapie: %s posiadajacy %i fragow!", nlname, lastFrags)
formatex(formatTwo, 255, "^x04[RESERVATION SLOT]^x01 %s dostal ^x04Slot Rezerwacji^x01.", nlname)
colored_msgAll(formatOne)
colored_msgAll(formatTwo)
setLeader(lastId)
} else if(IsLeader == 1 && equali(LeaderSTEAMID, SteamIdRead)){
new formatOne[256]
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Aktualny Map Lider %s udowodnil swojego skilla i jest znow NAJLEPSZY!", LeaderNICK)
colored_msgAll(formatOne)
} else if(access(lastId, ADMIN_RESERVATION)){
new formatOne[256]
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Najlepszy gracz na Mapie Posiada juz Slot Rezerwacji...", LeaderNICK)
colored_msgAll(formatOne)
} else {
new formatOne[256], formatTwo[256]
if(IsLeader == 1){
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Nikt nie jest lepszy od %s ...", LeaderNICK)
formatex(formatTwo, 255, "^x04[MAP LEADER]^x01 By zdobyc Slot Rezerwacji trzeba zdobyc wiecej niz %i fragow na tej mapie!", LeaderNICK, NextLeaderFRAGS)
colored_msgAll(formatOne)
colored_msgAll(formatTwo)
} else {
formatex(formatOne, 255, "^x04[MAP LEADER]^x01 Nikt niema minimum fragow %i by zostac Map Liderem... lames...", MinimumLeaderFrags)
colored_msgAll(formatOne)
}
}