[HELP]Menu GUI to LOADOUTS JOB

I have created a menu for choose a job but how to make for when i click on the job the command /loadouts IdJobChoose is executed @Havoc u have a idea havoc ?

Simply call

TriggerEvent("loadout:doLoadout", source, "YourClassName")

Yes but in my Menu how to assigned the job to the job in the menu

Menu.addButton("Chauffeur de Taxi","taxi")

TriggerEvent(“loadout:doLoadout”, source, “taxi”)

(its not the complete code its a exemple)

Can you show your menu code ? Depends how you did it

go in pv ^^ i send my menu