#Stop players hotkeying specific items into containers
1 messages · Page 1 of 1 (latest)
on inv click should work fine
I assume your issue is you checking inventory of player not inv item is going into
when you for example, hotkey an item into an empty chest slot, event-item is the item that is in the slot in which you hotkey an item into. event-item would be "0 air"
🤷
*says the professional dev
If you are talking about using num keys to move items, I used this and on inv click to fix it for my server.
https://skripthub.net/docs/?id=2137
then did if it’s a number key…
just basically do
on inventory click:
If event-inventory is named "name"
Cancel event
Code