• 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!

TFS 0.X What's the function to get weapon attack? TFS 0.4

Womos

Member
Joined
Dec 20, 2015
Messages
45
Reaction score
5
What's the function to get weapon attack?
Is there something like getweaponattack?
TFS 0.4
 
Solution
I found those ones, Never used them tho, I only used 0.4 for few weeks.
Lua:
if getItemInfo(weapon.itemid).attack
Lua:
function getItemAttack(uid)
        return getItemAttribute(uid,'attack')
end
But you can take a look here to know how they work.
I found those ones, Never used them tho, I only used 0.4 for few weeks.
Lua:
if getItemInfo(weapon.itemid).attack
Lua:
function getItemAttack(uid)
        return getItemAttribute(uid,'attack')
end
But you can take a look here to know how they work.
 
Last edited:
Solution
Back
Top