Jump to content

Need help,


Guest

Recommended Posts

Hello , I have quick question. How to add more weapon properties ?? Because when I try to add flag 0x000010 it doesn't work. So how ?

addEventHandler("onResourceStart", resourceRoot, -- resourceRoot == the resource that just started (this resource)
function ()
    setWeaponProperty("ak-47", "poor", "flags", 0x000020) 
end)
 

Link to comment

So how it would look like ? I cant understand

I need this, but this doesn't work , I dont know what Im doing wrong. First flag works perfectly, but second flag doesn't work.

addEventHandler("onResourceStart", resourceRoot, -- resourceRoot == the resource that just started (this resource)
function ()
    setWeaponProperty("ak-47", "poor", "flags", 0x000020)

   setWeaponProperty("ak-47", "poor", "flags" , 0x000010)
end)
 

Link to comment
addEventHandler("onResourceStart", resourceRoot, function ()
setWeaponProperty(30, "poor", "flag_move_and_aim" , true)
setWeaponProperty(30, "std", "flag_move_and_aim" , true)
setWeaponProperty(30, "pro", "flag_move_and_aim" , true)
setWeaponProperty(30, "poor", " flag_move_and_shoot " , true)
setWeaponProperty(30, "std", " flag_move_and_shoot" , true)
setWeaponProperty(30, "pro", " flag_move_and_shoot" , true)
end) 

maybe this will work?

Edited by Zorgman
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...