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

Solved How obtain Action id on head slot?

exanime

I´m learning Lua
Joined
Oct 24, 2011
Messages
40
Reaction score
3
Location
Bogota, Colombia
How do I get the id action of the head slot of an item equipped on this slot?
on tfs 1.3 i don´t know this function
 
Solution
what is [Dude] ?
anyways to answer your question, you can get the head slot item by using:
player:getSlotItem(CONST_SLOT_HEAD)

you can get the item actionid by
item:getActionId()
what is [Dude] ?
anyways to answer your question, you can get the head slot item by using:
player:getSlotItem(CONST_SLOT_HEAD)

you can get the item actionid by
item:getActionId()
 
Solution
Back
Top