[FREE] N&D NPC Robbery v 1.5.O
N&D NPC Robbery By Danny Version 1.5.0 Open source Dispatch Esx notify Cd dispatch Quasar Dispatch Ox lib notify Framework ESX QBCore ND Core OX Core Qbox Links Github Config Config = {} Config.framework = 'esx' -- esx, qbcore, ox_core, nd_core, qbx Config.UseOldEsx = false -- false...
forum.cfx.re
[FREE] N&D NPC Robbery v 1.5.O
N&D NPC Robbery By Danny Version 1.5.0 Open source Dispatch Esx notify Cd dispatch Quasar Dispatch Ox lib notify Framework ESX QBCore ND Core OX Core Qbox Links Github Config Config = {} Config.framework = 'esx' -- esx, qbcore, ox_core, nd_core, qbx Config.UseOldEsx = false -- false...
forum.cfx.re
N&D NPC抢劫
- 作者:Danny
- 版本 1.5.0
- 开源
派遣
- Esx 通知
- CD 派送
- 类星体调度
- Ox lib 通知
框架
- ESX
- 核心
- ND 核心
- OX 核心
- 量子盒子
配置
lua:
Config = {}
Config.framework = 'esx' -- esx, qbcore, ox_core, nd_core, qbx
Config.UseOldEsx = false -- false use ESX Export
Config.Alert = 'cd_dispatch'
Config.TimeToRobAgain = 30
Config.MinimumCops = 3 -- Minimum cops for rob
Config.PoliceJobName = 'police' -- Name of police job
Config.PoliceAlertProbability = 90 -- in %
Config.ResistanceChance = 0 -- in % / 0 for disable
Config.NameWeaponNPC = "weapon_pistol" -- What weapon have npc
Config.Dispatch = { -- Dispatch cods
title = 'Okradení osoby',
text = 'Někdo okradá lidi se zbraní',
}
Config.BlacklistNpc = { --- Npc can't be rob
[GetHashKey('s_m_m_highsec_01')] = true,
[GetHashKey('s_f_m_shop_high')] = true,
[GetHashKey('mp_m_weapexp_01')] = true,
[GetHashKey('s_m_m_scientist_01')] = true,
[GetHashKey('s_m_y_blackops_01')] = true,
[GetHashKey('u_m_y_babyd')] = true,
[GetHashKey('mp_m_shopkeep_01')] = true
}
Config.Items = { --- Random Item to rob
{
itemName = 'phone',
itemRandomAmount = {1, 1}
},
{
itemName = 'money',
itemRandomAmount = {500, 1000}
},
{
itemName = 'bread',
itemRandomAmount = {1, 1}
},
{
itemName = 'water',
itemRandomAmount = {1, 1}
},
}
Translation = { --- translation
['racket'] = 'Okrást osobu',
['can_rob_npc_again'] = 'Nemůžeš okrást 2x stejnou osobu',
['rob_complete'] = 'Okradl si osobu',
['police_alert'] = 'Člověk byl okraden',
['police_alert_blip'] = 'Krádaž',
['need_police'] = 'Nedostatek policajtů',
['rob_cooldown'] = 'Cooldown ',
}