Barikeloo / announce-creator-qb

2 stars 0 forks source link

[BUG] Announce not sending and close UI problem #1

Open SrPeterr opened 2 years ago

SrPeterr commented 2 years ago

Hi! Well I'm having some problem when trying open the menu and sending new announces, the announce doesn't come up and It doesn't close the menu, the pointer is still there Using the lasted version of QBcore and FXServer 5402 https://streamable.com/v3m6lf

uDrex commented 1 year ago

for the close problem try this code at js file:

function closeHandler() {
  Enabler.reportManualClose(); 
  Enabler.close();
}

document.getElementById('elem-id').addEventListener('click', closeHandler, false);

about the send button make sure you already linked your element with js id and make sure about js functionality for the button