Hello!
I'm im need of some help about changing the attack speed on players, with weapons that use Ammo.
I already know that: the error is probably the variably weapon on the internal getAttackSpeed() function.
Why? Because when I use the crossbow/bow as a Weapon (script, not automatic) it work as intended. I do also know that if you put the attack speed on the ammo, it will work perfectly.
So, I guess, that, if I changed the function "weapon = getWeapon(false)" to "weapon = getWeapon(true)", I would ignore the ammo, and it would be right. But, again, this function is not declared, as it is only mentioned as "weapon".
Anyway, does anybody could help me with this?
Thank you very much!
PS: I'm using TFS 0.4, rev 3884!
I'm im need of some help about changing the attack speed on players, with weapons that use Ammo.
I already know that: the error is probably the variably weapon on the internal getAttackSpeed() function.
Why? Because when I use the crossbow/bow as a Weapon (script, not automatic) it work as intended. I do also know that if you put the attack speed on the ammo, it will work perfectly.
So, I guess, that, if I changed the function "weapon = getWeapon(false)" to "weapon = getWeapon(true)", I would ignore the ammo, and it would be right. But, again, this function is not declared, as it is only mentioned as "weapon".
Anyway, does anybody could help me with this?
Thank you very much!
PS: I'm using TFS 0.4, rev 3884!