Change loot panel of a item_drop_backpack.prefabSolved
hello, is it possible change the loot panel of a assets/prefabs/misc/item drop/item_drop_backpack.prefab
can someone point me in the right direction?
thanks
Hey!
You can always use hooks and decline opening it and then open it manually with the needed loot panel. I hope you will understand me :)
hey like this hook
void OnLootEntity(BasePlayer player, BaseEntity entity)
{
    Puts("OnLootEntity works!");
}​


Merged post

thanks, i think i got it to work.

as info: the lootpanel of the dropped backpack have 36 slots. but since players are able wear 7 items, sometimes 1 item disapear if they die and the backpack dropped. 7 wear slots, 6 belt slots and 24 main slots = 37 so 1 item disapear i wanted to solve that.

and the next step was, we can now use the 42 slots for the backpack plugin, so if they dropped players are able loot all their items too.

thanks ;)
Locked automatically