example
example

已解决√ 求助 原始枪包和addo枪包伤害在哪改

我这个触发器脚本在各位大佬面前可能有点雕虫小技了,请多赐教。

server.lua
Lua:
Citizen.CreateThread(function()
    while true do
    SetWeaponDamageModifier(GetHashKey("WEAPON_UNARMED"), 0.4)--拳头
    SetWeaponDamageModifier(GetHashKey("WEAPON_ASP21"), 0.3)--警用甩棍
    SetWeaponDamageModifier(GetHashKey("WEAPON_NIGHTSTICK"), 0.3)--警用T棍
    SetWeaponDamageModifier(GetHashKey("WEAPON_BAT"), 0.3)--球棍
    SetWeaponDamageModifier(GetHashKey("WEAPON_HAMMER"), 0.3)--锤子
    SetWeaponDamageModifier(GetHashKey("WEAPON_GOLFCLUB"), 0.3)--高尔夫球杆
    SetWeaponDamageModifier(GetHashKey("WEAPON_CROWBAR"), 0.3)--撬棍
    SetWeaponDamageModifier(GetHashKey("WEAPON_KNUCKLE"), 0.1)--指虎
    SetWeaponDamageModifier(GetHashKey("WEAPON_WRENUH"), 0.3)--扳手
    SetWeaponDamageModifier(GetHashKey("WEAPON_POOLCUE"), 0.3)--台球杆
    SetWeaponDamageModifier(GetHashKey("WEAPON_WSD"), 0.4)--武士刀
    SetWeaponDamageModifier(GetHashKey("WEAPON_CAIDAO"), 0.4)--菜刀
    SetWeaponDamageModifier(GetHashKey("WEAPON_DACHUI"), 0.3)--大锤
    Wait(0)
    end
end)
fxmanifest.lua
Lua:
fx_version 'cerulean'
games {'gta5'}
description '武器伤害调整插件'
author 'HaoEr2047'

client_script 'server.lua'
 
后退
顶部