• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Attack speed on Distance Weapons

kkz

New Member
Joined
Mar 10, 2013
Messages
2
Reaction score
0
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!
 

Similar threads

Back
Top