Jump to content

Reload Time[HELP]


Price.

Recommended Posts

I tried this but doesnt work, sawn off still reloads same as Normal

function ReloadWep() 
    for i, player in pairs(getElementsByType("player")) do 
      local weaponSlot0 = getPedWeapon( player )   
      if    weaponSlot0 == 26    then   
      if  reloadPedWeapon ( player )  then 
       
      setWeaponProperty(26, "std", "flag_anim_reload_long", 75) 
     
end 
end 
end 
end 
addEventHandler( "onResourceStart", getRootElement(), ReloadWep) 

I get bad argument @ 'SetWeaponproperty' expected bool at argument 4, got number '75'

again, I'm trying to make sawn off reloading time takes longer time than usual!

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...