{"action":"created","issue":{"url":"https://api.github.com/repos/FPtje/DarkRP/issues/1957","labels_url":"https://api.github.com/repos/FPtje/DarkRP/issues/1957/labels{/name}","comments_url":"https://api.github.com/repos/FPtje/DarkRP/issues/1957/comments","events_url":"https://api.github.com/repos/FPtje/DarkRP/issues/1957/events","html_url":"https://github.com/FPtje/DarkRP/issues/1957","id":84649236,"number":1957,"title":"Error stuntick","user":{"login":"matiasg90","id":9421841,"avatar_url":"https://avatars.githubusercontent.com/u/9421841?v=3","gravatar_id":"","url":"https://api.github.com/users/matiasg90","html_url":"https://github.com/matiasg90","followers_url":"https://api.github.com/users/matiasg90/followers","following_url":"https://api.github.com/users/matiasg90/following{/other_user}","gists_url":"https://api.github.com/users/matiasg90/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasg90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasg90/subscriptions","organizations_url":"https://api.github.com/users/matiasg90/orgs","repos_url":"https://api.github.com/users/matiasg90/repos","events_url":"https://api.github.com/users/matiasg90/events{/privacy}","received_events_url":"https://api.github.com/users/matiasg90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-03T16:25:33Z","updated_at":"2015-06-04T01:47:23Z","closed_at":null,"body":" [ERROR] gamemodes/darkrp/entities/weapons/stunstick/shared.lua:92: attempt to index local 'attachment' (a nil value)\r\n  1. unknown - gamemodes/darkrp/entities/weapons/stunstick/shared.lua:92\r\n"},"comment":{"url":"https://api.github.com/repos/FPtje/DarkRP/issues/comments/108676600","html_url":"https://github.com/FPtje/DarkRP/issues/1957#issuecomment-108676600","issue_url":"https://api.github.com/repos/FPtje/DarkRP/issues/1957","id":108676600,"user":{"login":"matiasg90","id":9421841,"avatar_url":"https://avatars.githubusercontent.com/u/9421841?v=3","gravatar_id":"","url":"https://api.github.com/users/matiasg90","html_url":"https://github.com/matiasg90","followers_url":"https://api.github.com/users/matiasg90/followers","following_url":"https://api.github.com/users/matiasg90/following{/other_user}","gists_url":"https://api.github.com/users/matiasg90/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasg90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasg90/subscriptions","organizations_url":"https://api.github.com/users/matiasg90/orgs","repos_url":"https://api.github.com/users/matiasg90/repos","events_url":"https://api.github.com/users/matiasg90/events{/privacy}","received_events_url":"https://api.github.com/users/matiasg90/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T01:47:23Z","updated_at":"2015-06-04T01:47:23Z","body":"temporary solution :/\r\n\r\nfunction SWEP:DrawWorldModel()\r\n\tself:DrawModel()\r\n\tif CurTime() <= self:GetLastReload() + 0.1 then\r\n\t\tlocal attachment = self:GetOwner():GetAttachment(self:GetOwner():LookupAttachment(\"anim_attachment_rh\"))\r\n\t--\tlocal pos = attachment.Pos + (attachment.Ang:Up() * 16) + (attachment.Ang:Right() * -3) + attachment.Ang:Forward() * 4\r\n\t\tcam.Start3D(EyePos(), EyeAngles())\r\n\t\t\trender.SetMaterial(Material(\"sprites/light_glow02_add\"))\r\n\t\t--\trender.DrawSprite(pos, 32, 32, Color(255, 255, 255))\r\n\t\tcam.End3D()\r\n\tend\r\nend"}}