example
example

求助 各位大佬,怎么关闭原版的紧急NPC和禁用原版紧急车辆的刷新(esx)

FWL

新用户
认证用户
黄金
49.24 黄金
如题,比如警察、医护、消防、军队,原版的那些职业的车也不会刷新,esx的,有没有详细的教程或者什么插件,求救,感谢!
 
NO-NPC只能关闭警察大佬,没法关闭医护消防

在es_extended的config.lua文件里面找到
Config.DisableDispatchServices这部分,然后设置为true即可
1739715585420.png
 
  • 喜欢
反馈: FWL
在es_extended的config.lua文件里面找到
Config.DisableDispatchServices这部分,然后设置为tru
在es_extended的config.lua文件里面找到
Config.DisableDispatchServices这部分,然后设置为true即可
浏览附件4037
大佬我试了,原版的紧急车辆(警车、消防车、救护车)还是会正常刷新,有没有什么办法不让他们刷新
 
把你的核心发出来看看,这个是会禁止生成紧急车辆的
 
  • 喜欢
反馈: FWL
Lua:
Config                      = {}
Config.Locale               = GetConvar('esx:locale', 'en')

Config.Accounts             = {
    bank = {
        label = TranslateCap('account_bank'),
        round = true
    },
    black_money = {
        label = TranslateCap('account_black_money'),
        round = true
    },
    money = {
        label = TranslateCap('account_money'),
        round = true
    }
}

Config.StartingAccountMoney = { bank = 50000 }


Config.DefaultSpawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations
    { x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0 },
    --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0},
    --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0},
    --{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0},
    --{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0}
}

Config.AdminGroups = {
    ['owner'] = true,
    ['admin'] = true
}


Config.EnablePaycheck            = true      -- enable paycheck
Config.LogPaycheck               = false     -- Logs paychecks to a nominated Discord channel via webhook (default is false)
Config.EnableSocietyPayouts      = false     -- pay from the society account that the player is employed at? Requirement: esx_society
Config.MaxWeight                 = 24        -- the max inventory weight without backpack
Config.PaycheckInterval          = 7 * 60000 -- how often to recieve pay checks in milliseconds
Config.EnableDebug               = false     -- Use Debug options?
Config.EnableDefaultInventory    = true      -- Display the default Inventory ( F2 )
Config.EnableWantedLevel         = false     -- Use Normal GTA wanted Level?
Config.EnablePVP                 = true      -- Allow Player to player combat

Config.Multichar                 = GetResourceState("esx_multicharacter") ~= "missing"
Config.Identity                  = true  -- Select a characters identity data before they have loaded in (this happens by default with multichar)
Config.DistanceGive              = 4.0   -- Max distance when giving items, weapons etc.

Config.AdminLogging              = false -- Logs the usage of certain commands by those with group.admin ace permissions (default is false)

Config.DisableHealthRegeneration = false -- Player will no longer regenerate health
Config.DisableVehicleRewards     = false -- Disables Player Recieving weapons from vehicles
Config.DisableNPCDrops           = false -- stops NPCs from dropping weapons on death
Config.DisableDispatchServices   = true -- Disable Dispatch services
Config.DisableScenarios          = false -- Disable Scenarios
Config.DisableWeaponWheel        = false -- Disables default weapon wheel
Config.DisableAimAssist          = false -- disables AIM assist (mainly on controllers)
Config.DisableVehicleSeatShuff   = false -- Disables vehicle seat shuff
Config.RemoveHudCommonents       = {
    [1] = false,                         --WANTED_STARS,
    [2] = false,                         --WEAPON_ICON
    [3] = false,                         --CASH
    [4] = false,                         --MP_CASH
    [5] = false,                         --MP_MESSAGE
    [6] = false,                         --VEHICLE_NAME
    [7] = false,                         -- AREA_NAME
    [8] = false,                         -- VEHICLE_CLASS
    [9] = false,                         --STREET_NAME
    [10] = false,                        --HELP_TEXT
    [11] = false,                        --FLOATING_HELP_TEXT_1
    [12] = false,                        --FLOATING_HELP_TEXT_2
    [13] = false,                        --CASH_CHANGE
    [14] = false,                        --RETICLE
    [15] = false,                        --SUBTITLE_TEXT
    [16] = false,                        --RADIO_STATIONS
    [17] = false,                        --SAVING_GAME,
    [18] = false,                        --GAME_STREAM
    [19] = false,                        --WEAPON_WHEEL
    [20] = false,                        --WEAPON_WHEEL_STATS
    [21] = false,                        --HUD_COMPONENTS
    [22] = false,                        --HUD_WEAPONS
}

Config.SpawnVehMaxUpgrades       = true       -- admin vehicles spawn with max vehcle settings
Config.CustomAIPlates            = '........' -- Custom plates for AI vehicles
-- Pattern string format
--1 will lead to a random number from 0-9.
--A will lead to a random letter from A-Z.
-- . will lead to a random letter or number, with 50% probability of being either.
--^1 will lead to a literal 1 being emitted.
--^A will lead to a literal A being emitted.
--Any other character will lead to said character being emitted.
-- A string shorter than 8 characters will be padded on the right.
 
client/main.lua文件发出来看看
或者直接用
Lua:
for i = 1, 15 do
    EnableDispatchService(i, false)
end
 
1739803615751.png
大佬莫名其妙发不了代码了,但是我这里没改过,默认就是您发的这样的
 
client/main.lua文件发出来看看
或者直接用
Lua:
for i = 1, 15 do
    EnableDispatchService(i, false)
end
大佬我看了一下,NPC他不会刷了,但比如警局、消防站、医院的停车场还是停着原版的这些部门的车辆,我该怎么不让他生成
 
大佬我看了一下,NPC他不会刷了,但比如警局、消防站、医院的停车场还是停着原版的这些部门的车辆,我该怎么不让他生成
esx版本的警察,医院这些插件就会刷部门车辆吗,还是你用的其他的插件刷的,你用的什么插件就在什么插件里边找
 
大佬我看了一下,NPC他不会刷了,但比如警局、消防站、医院的停车场还是停着原版的这些部门的车辆,我该怎么不让他生成
no-npc这个插件就可以
 
后退
顶部