Using this code you can simply select a player while online type the command which can be changed to anything you like and have a look in the inventory of the player.
This script was originally made for arcemu i got it reworked to get it working on trinity core.
The code is very old and there were no credits at all on it when i found it on my hdd from 10 years ago .
Also you can change the minimum gm level that is allowed to use the command by editing
Lines 4 and 5 as minimum and maximum level allowed to use the command i for it set to 2 and 3 since i haven't made any changes on my ranks and i use the original one set by trinity core which are only 3 but you can set for example 2 and 13 depending on your server.
Enjoy
This script was originally made for arcemu i got it reworked to get it working on trinity core.
The code is very old and there were no credits at all on it when i found it on my hdd from 10 years ago .
Also you can change the minimum gm level that is allowed to use the command by editing
Lines 4 and 5 as minimum and maximum level allowed to use the command i for it set to 2 and 3 since i haven't made any changes on my ranks and i use the original one set by trinity core which are only 3 but you can set for example 2 and 13 depending on your server.
Enjoy