------------------------------------------------------------------------------------
--------------------------------- G4MHook SDK v0.1.1 -------------------------------
-------------------------- bean_xp - modmygta.com - (C)2009 ------------------------
------------------------------------------------------------------------------------
---------------------------- based on Aru's scripthook 2.1 -------------------------
------------------------------------------------------------------------------------


---------------------------------- Changelog  v0.2 --------------------------------

  0.2

- Added support for patch version 1.0.4

  0.1.1

- Fixed configuration error causing the example projects to not compile when the
  output path contained spaces.
- Fixed a dllimport incorectly defined as a dllexport in the GameTypes.h file.


--------------------------------------- About --------------------------------------

This SDK is designed to enable you to compile GTA modifications in C++, packaged are
visual studio 2008 project files for convinience. This SDK is based on Aru's
Scripthook version 2.1 (http://www.gtaforums.com/index.php?showtopic=390582).


-------------------------- Differences to other scripthooks ------------------------

Firstly unlike recent versions of aru's scripthook, this SDK supports the creation
of multiplayer mods. Please use this responsibly and apply restrictions to mods
where appropriate.

Additionally this SDK provides a method of hooking the DirectX calls made by GTA,
this allows us to work with DirectX for displaying in-game interfaces etc.

This SDK utilises a convinient shared DLL to provide the script hook's methods. To
avoid multiple conflicting releases of this .dll, it's source code is not provided.
If you wish to see it, ask nicely at modmygta.com and it may be provided.

Fixes from previous multiplayer scripthook:
- Exit crash no longer happens
- Natives using Vector3 parameters now return the correct results
- Fixed scripts occationally not reloading when switching between single and multi-
  player


---------------------------------- Getting started ---------------------------------

The example projects included should provide enough code to get you started, compile
and edit the files as required. The compiled ASI mods can be found in the Release/
Debug directory. Requests for examples will be considered at modmygta.com

NOTE- To compile the DirectX example the DirectX SDK should be installed, we
      recommend you use the March 2008 version of the SDK, to reduce dependencies
      as GTAIV is compiled with this version.
      Download: http://www.microsoft.com/Downloads/details.aspx?familyid=572BE8A6-263A-4424-A7FE-69CFF1A5B180&displaylang=en

With this release we have tried to retain as much compatibility with Aru's
scripthook as possible. Hopefully there should be no difficulties in transitioning
to this scripthook.

If you're not familiar with C++, this isn't going to be for you. We suggest you 
gain some knowledge of the language before attempting to use this scripthook.


----------------------------------- Known problems ---------------------------------

- Currently only patch 1.0.3 and above are supported, old versions will be supported
  soon.
- DirectX hook is only known to work with Alexaxnder Blade's Asi Loader version
  1.0.2b (Current release is 1.0.2).


-------------------------------------- License -------------------------------------

This SDK is provided under the zlib license as follows:

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.