Teamspeak Panic Button plugin for fivem

Hey, I have been looking on the internet for a while but can’t seem to find a script that works for what I am wanting. What I want is to set a hotkey to my plugin in teamspeak with an api connection going to a script in fivem. But I dont know how to code this stuff. I dont need help with linking a plugin, but I do need help with creating a plugin. Thanks