Jump to content
Sign in to follow this  
WVWMK

Конфигурация локации

Recommended Posts

 Заходим в папку локации, открываем ctrl.lua и в первой же функции пишем это и настраиваем по своему усмотрению:

 

function config(map)

MapCanSavePos(map, 0) — сохранения на карте, после перезахода (1 да, 0 нет)

MapCanPK(map, 1) — карта с PvP (1 да, 0 нет)

MapCanStall(map , 0) — ставить ларьки (1 можно, 0 нет)

MapCanTeam(map , 1) — можно ли создавать группы (1 да, 0 нет)

MapType ( map , 4 ) — тип карты (3 не видны ники, внешний вид, нельзя писать в чат; 4 видны ники, виден внешний вид)

SingleMapCopyPlyNum(map, 300) - максимальное кол-во человек на карте

end

Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites
RepatriateDie(map, 1)					-- Возможность воскрешать персонажа (1 - да, 0 - нет)

Но надо протестировать, работает не на всех сборках. :morning1:

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...