Prise Posted August 9, 2015 Posted August 9, 2015 Zdarova, lietuviai! Taigi, šiuo atveju turiu aš savo tactics serverį, TIK yra problemų. Kaip recoil'us sumažint ginklų? žinau, kad kažkas tokio: setWeaponProperty Būčiau dėkingas jei padėtumėte ANYWAYS, preview, jeigu nesupratot: https://www.youtube.com/watch?v=RLWlKOM-Gfk
manve1 Posted August 9, 2015 Posted August 9, 2015 Nera sunku, biski paskaityt wiki tereikejo ir viena koda duota tarp wiki perdaryt. Daugiausiai uztruktum 5 minutes. function antiRecoil( ) weaponList = { "colt 45", "silenced", "deagle", "shotgun", "sawed-off", "combat shotgun", "uzi", "mp5", "ak-47", "m4", "tec-9", "rifle", "sniper", "minigun" } for _,weapon in ipairs( weaponList ) do setWeaponProperty(weapon, "poor", "accuracy", 9999) setWeaponProperty(weapon, "std", "accuracy", 9999) setWeaponProperty(weapon, "pro", "accuracy", 9999) end end addEventHandler("onResourceStart", resourceRoot, antiRecoil)
Prise Posted August 9, 2015 Author Posted August 9, 2015 nu joa, dq. Tai maždaug turėtų būt taip?: antirecoil.lua function antiRecoil( ) weaponList = { "colt 45", "silenced", "deagle", "shotgun", "sawed-off", "combat shotgun", "uzi", "mp5", "ak-47", "m4", "tec-9", "rifle", "sniper", "minigun" } for _,weapon in ipairs( weaponList ) do setWeaponProperty(weapon, "poor", "accuracy", 9999) setWeaponProperty(weapon, "std", "accuracy", 9999) setWeaponProperty(weapon, "pro", "accuracy", 9999) end end addEventHandler("onResourceStart", resourceRoot, antiRecoil) meta.xml meta> "Manve" name="AntiRecoil" version="0.01" type="script" description="Recoil" />
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now