{"action":"closed","issue":{"url":"https://api.github.com/repos/shavitush/bhoptimer/issues/67","repository_url":"https://api.github.com/repos/shavitush/bhoptimer","labels_url":"https://api.github.com/repos/shavitush/bhoptimer/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/shavitush/bhoptimer/issues/67/comments","events_url":"https://api.github.com/repos/shavitush/bhoptimer/issues/67/events","html_url":"https://github.com/shavitush/bhoptimer/issues/67","id":164609056,"number":67,"title":"Better weapon clean up for csgo and css","user":{"login":"StrafeHack","id":19245254,"avatar_url":"https://avatars.githubusercontent.com/u/19245254?v=3","gravatar_id":"","url":"https://api.github.com/users/StrafeHack","html_url":"https://github.com/StrafeHack","followers_url":"https://api.github.com/users/StrafeHack/followers","following_url":"https://api.github.com/users/StrafeHack/following{/other_user}","gists_url":"https://api.github.com/users/StrafeHack/gists{/gist_id}","starred_url":"https://api.github.com/users/StrafeHack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrafeHack/subscriptions","organizations_url":"https://api.github.com/users/StrafeHack/orgs","repos_url":"https://api.github.com/users/StrafeHack/repos","events_url":"https://api.github.com/users/StrafeHack/events{/privacy}","received_events_url":"https://api.github.com/users/StrafeHack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shavitush/bhoptimer/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"shavitush","id":3672466,"avatar_url":"https://avatars.githubusercontent.com/u/3672466?v=3","gravatar_id":"","url":"https://api.github.com/users/shavitush","html_url":"https://github.com/shavitush","followers_url":"https://api.github.com/users/shavitush/followers","following_url":"https://api.github.com/users/shavitush/following{/other_user}","gists_url":"https://api.github.com/users/shavitush/gists{/gist_id}","starred_url":"https://api.github.com/users/shavitush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shavitush/subscriptions","organizations_url":"https://api.github.com/users/shavitush/orgs","repos_url":"https://api.github.com/users/shavitush/repos","events_url":"https://api.github.com/users/shavitush/events{/privacy}","received_events_url":"https://api.github.com/users/shavitush/received_events","type":"User","site_admin":false},"assignees":[{"login":"shavitush","id":3672466,"avatar_url":"https://avatars.githubusercontent.com/u/3672466?v=3","gravatar_id":"","url":"https://api.github.com/users/shavitush","html_url":"https://github.com/shavitush","followers_url":"https://api.github.com/users/shavitush/followers","following_url":"https://api.github.com/users/shavitush/following{/other_user}","gists_url":"https://api.github.com/users/shavitush/gists{/gist_id}","starred_url":"https://api.github.com/users/shavitush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shavitush/subscriptions","organizations_url":"https://api.github.com/users/shavitush/orgs","repos_url":"https://api.github.com/users/shavitush/repos","events_url":"https://api.github.com/users/shavitush/events{/privacy}","received_events_url":"https://api.github.com/users/shavitush/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/shavitush/bhoptimer/milestones/1","html_url":"https://github.com/shavitush/bhoptimer/milestones/1.5b","labels_url":"https://api.github.com/repos/shavitush/bhoptimer/milestones/1/labels","id":1877415,"number":1,"title":"1.5b","description":null,"creator":{"login":"shavitush","id":3672466,"avatar_url":"https://avatars.githubusercontent.com/u/3672466?v=3","gravatar_id":"","url":"https://api.github.com/users/shavitush","html_url":"https://github.com/shavitush","followers_url":"https://api.github.com/users/shavitush/followers","following_url":"https://api.github.com/users/shavitush/following{/other_user}","gists_url":"https://api.github.com/users/shavitush/gists{/gist_id}","starred_url":"https://api.github.com/users/shavitush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shavitush/subscriptions","organizations_url":"https://api.github.com/users/shavitush/orgs","repos_url":"https://api.github.com/users/shavitush/repos","events_url":"https://api.github.com/users/shavitush/events{/privacy}","received_events_url":"https://api.github.com/users/shavitush/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2016-07-12T01:37:29Z","updated_at":"2016-07-12T01:55:22Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-08T20:22:04Z","updated_at":"2016-07-12T01:55:22Z","closed_at":"2016-07-12T01:55:22Z","body":"I think it's still a good idea to include weapon cleaning in the timer itself, if you don't agree fair enough.\r\nThis works well for me when players drop weapon and when they die or suicide, it also obviously allows you to leave map weapons in.\r\n\r\npublic void OnClientPutInServer(int client)\r\n{\r\n\tSDKHook(client, SDKHook_WeaponDrop, OnWeaponDrop);\r\n}\r\n\r\npublic void OnWeaponDrop(int client, int weapon)\r\n{\t\r\n\tif(IsValidEntity(weapon))\r\n\t\tAcceptEntityInput(weapon, \"Kill\");\r\n}"}}
{"actor":{"display_login":"shavitush"}}