Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS.Config.CalculateBuyPrice = function(ply, item)
- Everything half price for admins:
- if ply:IsAdmin() then return math.Round(item.Price * 0.5) end
- 25% off for the 'donator' group
- if ply:IsUserGroup('donator') then return math.Round(item.Price * 0.75) end
- 40% off for the 'superdonator' group
- if ply:IsUserGroup('superdonator') then return math.Round(item.Price * 0.75) end
- return item.Price
- end
Add Comment
Please, Sign In to add comment