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

Lua [1.1] I need an example of retrieving equipment data!

BloodGauntlet

Member
Joined
Jul 27, 2016
Messages
45
Reaction score
18
Just a brief example of how to e.g, retrieve the weapon damage value of the currently equipped weapon. More specifically retrieve the weapon the player is wearing so I can plug it into Item methods. Looked through the meta methods but I didn't see anything that fits. Thanks!
 
I have those saved on my drive! I've just been looking through them and I can't find which method to use to get the current player equipment.

Figured it would be
player:get....
But I don't see anything there that makes sense.

EDIT: player:getSlotItem(slot) I must've overlooked that ten times until I wrote this.
 
Back
Top