Posted
What do I do with WeAreDevs_API-cpp.dll?
Replied
learn c++
then come back
Cancel
Post
Replied
Usage Example for C++ Projects
Open your C++ project and build it. Go to where your file was built and drop your downloaded WeAreDevs_API.cpp.dll file in there. To call the API, you must import the functions using the code below.
[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool LaunchExploit();
[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLuaCScript(string script);
[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendLimitedLuaScript(string script);
[DllImport("WeAreDevs_API.cpp.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern bool SendCommand(string script);
From there, you need to go in a game and call the LaunchExploit() function
You can then start using the other functions
SendLimitedLuaScript("print 'hello world'")
SendLuaCScript("getglobal print\r\npushstring hello world!\r\npcall 1 0 0")
SendCommand("btools me")
You can look at the list of commands you can use with SendCommand() below
Cancel
Post
kwl
My new discord is Wabz#1337 with ID 777154062789509130
Replied
@37266Thanks for helping me out!
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post