{"action":"closed","issue":{"url":"https://api.github.com/repos/eezstreet/SWATEliteForce/issues/143","repository_url":"https://api.github.com/repos/eezstreet/SWATEliteForce","labels_url":"https://api.github.com/repos/eezstreet/SWATEliteForce/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/eezstreet/SWATEliteForce/issues/143/comments","events_url":"https://api.github.com/repos/eezstreet/SWATEliteForce/issues/143/events","html_url":"https://github.com/eezstreet/SWATEliteForce/issues/143","id":221138439,"number":143,"title":"\"TriggerOfficerDownSpeech\" Is Using A Broken Version (SEF V5)","user":{"login":"sandman332","id":25424821,"avatar_url":"https://avatars0.githubusercontent.com/u/25424821?v=3","gravatar_id":"","url":"https://api.github.com/users/sandman332","html_url":"https://github.com/sandman332","followers_url":"https://api.github.com/users/sandman332/followers","following_url":"https://api.github.com/users/sandman332/following{/other_user}","gists_url":"https://api.github.com/users/sandman332/gists{/gist_id}","starred_url":"https://api.github.com/users/sandman332/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandman332/subscriptions","organizations_url":"https://api.github.com/users/sandman332/orgs","repos_url":"https://api.github.com/users/sandman332/repos","events_url":"https://api.github.com/users/sandman332/events{/privacy}","received_events_url":"https://api.github.com/users/sandman332/received_events","type":"User","site_admin":false},"labels":[{"id":573107770,"url":"https://api.github.com/repos/eezstreet/SWATEliteForce/labels/May%20be%20fixed","name":"May be fixed","color":"c5def5","default":false},{"id":568061415,"url":"https://api.github.com/repos/eezstreet/SWATEliteForce/labels/Singleplayer","name":"Singleplayer","color":"fbca04","default":false},{"id":568060934,"url":"https://api.github.com/repos/eezstreet/SWATEliteForce/labels/Verified","name":"Verified","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-12T03:05:20Z","updated_at":"2017-04-18T23:50:20Z","closed_at":"2017-04-18T23:50:20Z","body":"Hello,\r\nThe \"TriggerOfficerDownSpeech\" is broken and using a wrong version.  Jose came up with the idea instead of officers saying \"Officer Down\" they had lines for saying specific officers were down.  He then implemented it but later realized it didn't work (gathering what I read on discord) so if I remember correctly he made a fixed version, but it didn't get into V5 of SEF and the broken version is still there.\r\n```\r\n\r\nfunction TriggerOfficerDownSpeech(pawn Officer)\r\n{\r\n//    TriggerSpeech('ReportedOfficerDown', true);\r\n    if (Officer.IsA('OfficerBlueOne'))\r\n    {\r\n        TriggerSpeech('ReportedB1Down');\r\n    }\r\n    else if (Officer.IsA('OfficerBlueTwo'))\r\n    {\r\n        TriggerSpeech('ReportedB1Down');\r\n    }\r\n    else if (Officer.IsA('OfficerRedOne'))\r\n    {\r\n        TriggerSpeech('ReportedR1Down');\r\n    }\r\n    else\r\n    {\r\n        TriggerSpeech('ReportedR2Down');\r\n    }\r\n}\r\n```\r\nThis doesn't even really work, and if Officer Blue Two goes down they will say Officer Blue One is down instead.\r\n\r\nThanks!"}}
{"actor":{"display_login":"eezstreet"}}