• 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 1.X+ Help to Count Item when move It

eduardbean

Member
Joined
Nov 26, 2010
Messages
129
Solutions
2
Reaction score
15
Good morning, I am wanting to develop a system that counts how many items the player gets, or moves into the backpack.

For example, Item Sword, I want to perform a function that executes every time he wins an item with the same ID as a Sword, and every time he moves a sword into the backpack he also performs the function, and when he removes a sword from inside the backpack also perform a function.

Does anyone know where I can get my role inside source to identify where the player is starting the item? Because I don't want to tell when he moves from bag to bag, but if he moves to the floor or picks up from a bag on the floor would have to count
 
Last edited:
Back
Top