05-15-2016, 11:39 AM
Hello
If you press 'q' in the hotbar, you can get the tossed item by Player:GetEquippedItem().
How can I get the tossed item if I drop the item with my mouse outside of the inventory? Naturally Player:GetEquippedItem() == -1 in this case.
If I am correct, there is no such thing as Player::GetHeldItem().
Thanks in advance
If you press 'q' in the hotbar, you can get the tossed item by Player:GetEquippedItem().
How can I get the tossed item if I drop the item with my mouse outside of the inventory? Naturally Player:GetEquippedItem() == -1 in this case.
If I am correct, there is no such thing as Player::GetHeldItem().
Thanks in advance