Advertisement
Roite

logen

Aug 22nd, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. DarkRP.createEntity("VIP Money Printer", {
  2.     ent = "vip_money_printer",
  3.     model = "models/props_c17/consolebox01a.mdl",
  4.     price = 25000,
  5.     max = 1,
  6.     cmd = "buyvipmoneyprinter",
  7.     customCheck = function(ply) if ply:GetUserGroup("VIP", "admin", "superadmin", "Modérateur") then return (ply:isCP() > 1) end,
  8.     CustomCheckFailMsg = "Il faut minimum deux policiers pour acheter un printer et être VIP !",  
  9. })
  10. the custom check has an error.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement