{"action":"closed","issue":{"url":"https://api.github.com/repos/vrondakis/Leveling-System/issues/43","repository_url":"https://api.github.com/repos/vrondakis/Leveling-System","labels_url":"https://api.github.com/repos/vrondakis/Leveling-System/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/vrondakis/Leveling-System/issues/43/comments","events_url":"https://api.github.com/repos/vrondakis/Leveling-System/issues/43/events","html_url":"https://github.com/vrondakis/Leveling-System/issues/43","id":151861268,"number":43,"title":"Printers for certain ranks.","user":{"login":"dsgassassin","id":11458712,"avatar_url":"https://avatars.githubusercontent.com/u/11458712?v=3","gravatar_id":"","url":"https://api.github.com/users/dsgassassin","html_url":"https://github.com/dsgassassin","followers_url":"https://api.github.com/users/dsgassassin/followers","following_url":"https://api.github.com/users/dsgassassin/following{/other_user}","gists_url":"https://api.github.com/users/dsgassassin/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgassassin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgassassin/subscriptions","organizations_url":"https://api.github.com/users/dsgassassin/orgs","repos_url":"https://api.github.com/users/dsgassassin/repos","events_url":"https://api.github.com/users/dsgassassin/events{/privacy}","received_events_url":"https://api.github.com/users/dsgassassin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-29T13:06:09Z","updated_at":"2016-05-24T21:54:01Z","closed_at":"2016-05-24T21:54:01Z","body":"Hi,\r\n\r\nI know this question has been \"answered\" before, but the answer is of little use, \r\nI've tried several different ways of restricting printers to certain ranks, but to no avail, I was wondering if you could help?\r\n\r\n> local Printer={}\r\n> Printer.Name = 'Ruby Printer'\r\n> Printer.Type = 'ruby'\r\n> Printer.XPPerPrint = 0\r\n> Printer.MoneyPerPrint = 250\r\n> Printer.Color = Color(185,0,0)\r\n> Printer.Model = 'models/props_lab/reciever01a.mdl'\r\n> Printer.Price = 12500\r\n> Printer.Level = 0\r\n> Printer.Prestige = 0\r\n> customCheck = function(ply) return table.HasValue({\"vip_user\", \"vip_respected\", \"vip_moderator\", \"vip_senior_moderator\", \"vip_admin\", \"vip_sadmin\", \"vip_superadmin\"}, ply:GetUserGroup() == \"vip_user\") end\r\n> customCheckFailMsg = \"In order to use this printer, you must donate to become a VIP.\"\r\n> table.insert(Printers,Printer)\r\n\r\nThat custom check doesnt work... Can you tell me a WORKING way to do this?\r\nThanks"}}
{"actor":{"display_login":"vrondakis"}}