User:Jusonex: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Features==
===Awesomium API===
====Functions====
<syntaxhighlight lang="lua">
browser createBrowser(int width, int height)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool updateBrowser(browser webBrowser)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool requestBrowserPages(table pages)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool loadBrowserURL(browser webBrowser, string url)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool isBrowserLoading(browser webBrowser)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool injectBrowserMouseMove(browser webBrowser, int x, int y)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool injectBrowserMouseDown(browser webBrowser, int mouseButton)
</syntaxhighlight>
<syntaxhighlight lang="lua">
bool injectBrowserMouseUp(browser webBrowser, int mouseButton)
</syntaxhighlight>
====Events====
Todo
====Examples====
Todo
==Notes==
==Notes==
* Crosshair position (weapons that use the "normal" crosshair texture "siteM16"): ''X = screenWidth * 0.5299999714f; Y = screenHeight * 0.4f''
* Crosshair position (weapons that use the "normal" crosshair texture "siteM16"): ''X = screenWidth * 0.5299999714f; Y = screenHeight * 0.4f''

Revision as of 12:27, 9 April 2014

Features

Awesomium API

Functions

browser createBrowser(int width, int height)
bool updateBrowser(browser webBrowser)
bool requestBrowserPages(table pages)
bool loadBrowserURL(browser webBrowser, string url)
bool isBrowserLoading(browser webBrowser)
bool injectBrowserMouseMove(browser webBrowser, int x, int y)
bool injectBrowserMouseDown(browser webBrowser, int mouseButton)
bool injectBrowserMouseUp(browser webBrowser, int mouseButton)

Events

Todo

Examples

Todo

Notes

  • Crosshair position (weapons that use the "normal" crosshair texture "siteM16"): X = screenWidth * 0.5299999714f; Y = screenHeight * 0.4f

Useful stuff

Resources

Tools

SA Reversing