Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- #include <iostream>
- #include "CAPI.h"
- int main()
- {
- api::CAPI *API = new api::CAPI();
- while(1)
- {
- if(GetAsyncKeyState(VK_NUMPAD1))
- {
- std::cout << API->SendChat("Hallo Welt!") << std::endl;
- std::cout << API->SendChat("/carlock") << std::endl;
- Sleep(100);
- }
- Sleep(50);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement