Advertisement
Guest User

addentities.lua donator problem

a guest
Nov 21st, 2012
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. AddEntity("Emerald Printer", {
  2. ent = "emerald_money_printer",
  3. model = "models/props_c17/consolebox01a.mdl",
  4. price = 2500,
  5. max = 2,
  6. cmd = "/buyemerald"
  7. customCheck = function(ply)
  8. return ply:IsUserGroup("donator")
  9. end
  10. })
  11.  
  12. AddEntity("Ruby Printer", {
  13. ent = "ruby_money_printer",
  14. model = "models/props_c17/consolebox01a.mdl",
  15. price = 5000,
  16. max = 2,
  17. cmd = "/buyruby"
  18. customCheck = function(ply)
  19. return ply:IsUserGroup("donator")
  20. end
  21. })
  22.  
  23. AddEntity("Sapphire Printer", {
  24. ent = "sapphire_money_printer",
  25. model = "models/props_c17/consolebox01a.mdl",
  26. price = 7500,
  27. max = 2,
  28. cmd = "/buysapphire"
  29. customCheck = function(ply)
  30. return ply:IsUserGroup("donator")
  31. end
  32. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement