[Help] Addon weapons DriveBy

Hello, I have a question. How can I make an addon weapon so that I can driveby with it? I tried creating a vehiclelayouts.meta and adding my addon weapons in it but this does not work. Any help would be appreciated!