I need help with PointShop, but probably not in the way you think.

There are two changes I need made to PointShop, and they’re not exactly ones that are standard in here, from what I’ve seen.

Firstly, I need to know what to do to PointShop to make it delete items instead of selling them, and changing the text that says ‘Sell’ to Delete’ (which is easy enough, I just need to change the text on vgui\DPointShopItem.lua on lines 26-27…). I figure that I need to edit lines 250-279 in sv_player_extension.lua, but I have no idea what to do beyond that to make it so that it simply deletes the item from the player’s inventory instead of getting points for it.

The second thing I need is a way to show the player’s owned items in one single tab, instead of spread around other tabs. I want the player to be able to see items in this single tab even if the group they’re normally from is one they can’t see.

Thanks for the help.

For the deleting instead of selling:

In lua/sv_player_extension.lua change
[lua] self:PS_GivePoints(points)


self:PS_Notify('Sold ', ITEM.Name, ' for ', points, ' ', PS.Config.PointsName)[/lua]



self:PS_Notify('Deleted ', ITEM.Name)[/lua]