Sign in to follow this  
Prise

Pagalbėlės biškiukąą

Recommended Posts

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 :roll:

ANYWAYS, preview, jeigu nesupratot:

https://www.youtube.com/watch?v=RLWlKOM-Gfk

Share this post


Link to post

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) 

Share this post


Link to post

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" /> 
  
        

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.