Резервные слоты

Тема в разделе "Запросы", создана пользователем palanich, 5 ноя 2011.

  1. palanich

    palanich

    Сообщения:
    114
    Симпатии:
    5
    Доброго времени суток!
    Подскажите пожалуйста как можно сделать резервные слоты для входа через "connеct" . Заранее благодарен!
     
  2. kv.acid

    kv.acid Супер-модератор

    Сообщения:
    2.033
    Симпатии:
    767
    palanich, cfg\sourcemod\sourcemod.cfg

    Код:
    // Specifies how the reserved slots plugin operates. Valid values are:
    // 0 : Public slots are used in preference to reserved slots. Reserved slots are freed before public slots.
    // 1 : If someone with reserve access joins into a reserved slot, the player with the highest latency and 
    // no reserved slot access (spectator players are selected first) is kicked to make room. Thus, the reserved
    // slots always remains free. The only situation where the reserved slot(s) can become properly occupied is 
    // if the server is full with reserve slot access clients.
    // --
    // Requires: reservedslots.smx
    // Default: 0
    sm_reserve_type 0
    
    // Specifies the number of reserved player slots.  Users with the reservation
    // admin flag set will be able to join the server when there are no public slots
    // remaining. If someone does not have this flag, they will be kicked.
    // (Public slots are defined as: maxplayers - number of reserved slots)
    // --
    // Requires: reservedslots.smx
    // Default: 0
    sm_reserved_slots 0
    
    // Specifies whether or not reserved slots will be hidden (subtracted from max
    // slot count). Valid values are 0 (Visible) or 1 (Hidden).
    // --
    // Requires: reservedslots.smx
    // Default: 0
    sm_hide_slots 0
     
    palanich нравится это.