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
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: