Jump to content

call export in CEF


Recommended Posts

Hello,

I do have a question about calling an exports. 

I have an export to add profiles to an xml file the export is:

exports.XML:addProfileToXML(id, username);

Now I want to use this export event in an javascript function, but it is not triggering the function. It does work if I try to export it clientside but it doesn't in js.

I tried using it with or without the "exports.XML:" but it doesnt work

mta.triggerEvent("exports.XML:addProfileToXML", id, username);
mta.triggerEvent("addProfileToXML", id, username);

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...