Не работает setspawn gmod

Как настроить спавн профессий?

#1 Vladioy

  • Пользователь
  • 9 сообщений
  • У меня вопрос как настроить что-бы при взятии профы игрок спавнился допустим в п.у.?

    Многие возможно напишут /setspawn [команда работы] или /addspawn [команда работы] но у меня это действует только при том условии что игрока убили или он убитым взял профу тогда спавнится но если просто взять то не работает прошу помогите.

    #2 Senex

  • Пользователь
  • 5 сообщений
  • При смене профессии он не респавнится? Ему просто выдаются вещи и всё?

    Заходишь в darkrpmodification\lua\darkrp_config

    Находишь строку GM.Config.norespawn = true

    и изменяешь переменную на false.

    Сообщение отредактировал Senex: 03 Июль 2019 — 15:24

    #3 Vladioy

  • Пользователь
  • 9 сообщений
  • При смене профессии он не респавнится? Ему просто выдаются вещи и всё?

    Заходишь в darkrpmodification\lua\darkrp_config

    Источник

    Подпишитесь, чтобы загрузить
    Gmod Player Spawn Point Editor — Resources Only

    This is the content only of Player Spawn Point Editor can be get here : https://originahl-scripts.com/gmod-scripts/1966/players-spawn-point-editor

    «Official Player Spawn Point Editor is a complete gmod spawn manager, editable in real time. Keep an overview that is quick and easy to customize without rebooting your server. Player Spawn Point Editor fix also darkrp set spawn command»

    A full spawn point system. To you simply do what you want. For example if you find that spawn at the police officers arriving on servers and that doctors in hospitals, For the spawn darkrp military officer in his office. Admins that ULX or Other spawn at a specific point. Whether you change your mind and want to move the spawn point like an entity it’s possible. The module incorporates its own persistence system. It does not change the behavior of normal spawn. If you place several point same class. Then a random selection will be among them. Since the big update (version 3.9 (24 august 2018)) A new option allows you to assign a category name instead of a job to spawn all jobs in a category. It is extremely faster, easier to configure.

    Читайте также:  Настроить майл для айфон

    This system fixe also your custom spawn issue where the /setspawn wouldn’t work.

    Bill: «With the spawn manager, is it possible to delete the spawns by default, and add my own spawns?»
    Author: «When you place the first spawn with my system, it removes all the default ones. And when you delete my last spawn point. This is the default one that works.»

    Yellow: «If my group or my job does not have spawn point, that can bug?»
    Author: «No you spawn to the point defined by the map.»

    Red: «How to I add spawns without them deleting when I leave the server?»
    Author: «Open the panel and click on persistence button (OFF/ON).»

    Green: «So if I have a Military RP server it’s possible to make several group point Although separate?»
    Author: «Yes.»

    Green: «Have noticed that i cannot change the name of a spawnpoint, when i try i click save and nothing happens. Any ideas what causes this?»
    Author: «You need Press «Enter», the text become green.»

    Источник

    Не работает setspawn gmod

    Neguido,
    I am using Sandbox as my base because I want admins to be able to spawn things in, however, not users.
    I am planning to possibly making it so having the physgun enables you to use a spawnmenu.
    My current code checks if the player is an Admin, and I use the code solution provided to try and get it to work, however it doesn’t. I am wondering if this is because I missed a step, or something changed?

    function GM:OnSpawnMenuOpen()
    if LocalPlayer():IsBot() then
    return false
    else
    return true
    end
    end

    I am checking if it is a bot so I could test if the spawn menu worked for people who AREN’T admin, as I was an admin. It works for admins and users, though. Any help? 😀

    Читайте также:  Старлайн а96 настроить время автозапуска

    Neguido,
    I am using Sandbox as my base because I want admins to be able to spawn things in, however, not users.
    I am planning to possibly making it so having the physgun enables you to use a spawnmenu.
    My current code checks if the player is an Admin, and I use the code solution provided to try and get it to work, however it doesn’t. I am wondering if this is because I missed a step, or something changed?

    function GM:OnSpawnMenuOpen()
    if LocalPlayer():IsBot() then
    return false
    else
    return true
    end
    end

    I am checking if it is a bot so I could test if the spawn menu worked for people who AREN’T admin, as I was an admin. It works for admins and users, though. Any help? 😀

    You might be overriding the wrong Sandbox function, I think in your use case you should be hooking GM:SpawnMenuOpen() instead.

    Neguido,
    I am using Sandbox as my base because I want admins to be able to spawn things in, however, not users.
    I am planning to possibly making it so having the physgun enables you to use a spawnmenu.
    My current code checks if the player is an Admin, and I use the code solution provided to try and get it to work, however it doesn’t. I am wondering if this is because I missed a step, or something changed?

    function GM:OnSpawnMenuOpen()
    if LocalPlayer():IsBot() then
    return false
    else
    return true
    end
    end

    I am checking if it is a bot so I could test if the spawn menu worked for people who AREN’T admin, as I was an admin. It works for admins and users, though. Any help? 😀

    You might be overriding the wrong Sandbox function, I think in your use case you should be hooking GM:SpawnMenuOpen() instead.

    Читайте также:  Банк не работает поиск

    Источник

    Подпишитесь, чтобы загрузить
    Easy Jobs Spawns Tool [DarkRP]

    — Open the GUI with a console command: «zk_gui_setspawns»
    — A very simplistic UI to allow for easy usage.
    — You can bind it: bind zk_gui_setspawns

    — Only certain ULX usergroups are able to setspawns:
    — «superadmin», «headadmin», «admin», «moderator», «tmod», «dev».
    — ‘GM.Config.customspawns’ must be set to true

    Zaktak — I understand that you used the function / setspawn
    You did not explain this in the description of this, as it turned out this function on the standard is disabled.

    — customspawns — Enable/disable whether custom spawns should be used.
    GM.Config.customspawns = true

    Перевод на русский!
    Я понимаю, что вы использовали функцию /Setspawn
    Вы не объяснили это в описании этого, так как оказалось, что эта функция на стандарте отключена.

    Источник

    Как поставить спавн игрока

    #1 Combine

  • Пользователь
  • 2 сообщений
  • Помогите поставить спавн игрока на сервере garrys mod. А также когда игрок берет работу например полицеского он спавнится там же где и остальные игроки. Как настроить спавн работ тоже?

    #2 Jubileus

  • Пользователь
  • 2 сообщений
  • Спавн можно настроить в специальной программе для создания карт. Hammer. Надо просто взять уже созданную карту, и переставить/добавить спавн игроков.

    UPD: Только сейчас заметил, что ты про DarkRP сервер. Ничем не могу помочь Но ответ оставлю, т.к. может помочь людям, у которох сервер с 2 командами игроков.

    Сообщение отредактировал Jubileus: 18 Август 2017 — 12:08

    #3 unx0ip

  • Пользователь
  • 3 сообщений
  • Когда ты заполнял jobs.lua, ты писал команды например для TEAM_CITIZEN:
    command: «cityz»

    Так вот, на сервере встаешь на место, где хочешь установить спавн и пишешь

    Если их несколько, то в нескольких местах и ставишь

    Если надо, например спавн для копов еще и т.д., то тут все так же
    Если команда у копов

    Источник

    Оцените статью