admin 发表于 2022-5-29 21:16:05

武器子弹变成物品

仅使用 ESX 1.2 (v1-final) 只支持该版本!
需要的依赖
[*]ProgressBar ( Pogress Bar (Progress Bar, 独立, 流畅动画)60 )
[*]NativeUI ( [发布] [开发] NativeUILua59 )


配置文件
Config = {}
----------------------------------------------------------------
Config.Locale = 'de'
Config.VersionChecker = true
Config.Debug = false
Config.getSharedObject = 'esx:getSharedObject'
----------------------------------------------------------------
Config.Menu = 'NativeUI' -- Set to 'ESX' if you want ESX Menu || Set to 'NativeUI' if you want NativeUI
----------------------------------------------------------------
Config.CheckMaxAmmo = true -- If 'false' the Player can get more than Config.MaxAmmo bullets
         Config.MaxAmmo = 250 -- Set the max. Ammo in Weapon
Config.SavePlayer = true -- If you get an error like this set this to false // SCRIPT ERROR: @WeaponAmmo/server.lua:414: attempt to call a nil value (field 'SavePlayer')
----------------------------------------------------------------
Config.EnableKey = true -- Set to false if you dont want to use ammo Item by pressing a Key
Config.Key = 45 -- default: 45 = R // https://docs.fivem.net/docs/game-references/controls/
Config.AntiWeaponPunch = true -- Set false if you don't want to use this
----------------------------------------------------------------
Config.Animation = true -- Set false if you dont want the animation
Config.ProgressBar = {
      enable = true, -- Set false if you dont want the progressbar
      time = 2, -- In seconds
}
----------------------------------------------------------------
Config.WeaponAmmoClips = { -- Will give this many bullets to player
      -- Items are used for all types of weapons
      WeaponClip = 30,
      WeaponBox = 150,      
      -- Items are used for only that kind of weapon type
      Pistols = 12,
      SMGs = 30,
      Shotguns = 25,
      Rifles = 25,
      MGs = 50,
      Snipers = 15,
      Throwables = 5,
}
----------------------------------------------------------------
-- Set true if you like to remove item when used
Config.Removeables = {
      -- Weapon Clips
      WeaponClip = true,
      WeaponBox = true,
      Pistol = true,
      SMG = true,
      Shotgun = true,
      Rifle = true,
      MG = true,
      Sniper = true,
      Throwables = true,
      -- Weapon Attachments
      Attachments = true,
      Attachment_Remover = false,
      -- Weapon Tints
      Color = true
}**** Hidden Message *****

西仔ya 发表于 2022-5-31 22:11:18

1111111111

Lambda 发表于 2022-6-1 15:57:58

强烈支持楼主ing……

caption 发表于 2022-6-1 22:32:33

看到这帖子真是高兴!

qjqshi001 发表于 2022-7-16 23:29:24

111111111111111111

xiaojiu 发表于 2022-7-19 20:04:05

强烈支持楼主ing……

我能有啥坏心思 发表于 2022-7-27 01:23:09

22222222222222222

2079661484 发表于 2022-7-28 14:13:39

66666666666666

BigRedPig 发表于 2022-8-10 11:46:53

强烈支持楼主ing……

3597722621 发表于 2022-8-29 08:52:44

强烈支持楼主ing……

laozhang 发表于 2022-9-8 17:59:19

强烈支持楼主ing……

wuyu 发表于 2022-9-21 20:09:12

强烈支持楼主ing……

kk123654 发表于 2022-9-28 16:56:08

看到这帖子真是高兴!

rensheng 发表于 2022-9-28 20:24:23

6

50niuzida 发表于 2022-10-27 19:02:09

666666666666

屌王 发表于 2022-10-29 08:20:46

强烈支持楼主ing……

彩虹糖 发表于 2022-11-3 16:37:50

强烈支持楼主ing……

Yunkman 发表于 2022-11-7 22:57:45

6666666666666666666

Yktian 发表于 2022-11-12 13:53:37

122

二月x 发表于 2022-11-29 15:54:42

强烈支持楼主ing……
页: [1] 2 3
查看完整版本: 武器子弹变成物品