Jump to content

Pagalbėlės biškiukąą


Recommended Posts

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) 

Link to comment

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

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...