Forum > Coding >

Is there any way to add a function to WRD API?

Posts: 9

Threads: 3

Joined: Feb, 2020

Reputation: 0

Posted

So basically is it possible to create our own functions and add them to the API? For example:

function test()

        return {}

end

and this function can be executed through the api like so:

WRD.SendLuaScript("test()");

Apologies if this is not the correct place to post this.

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )