Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 1.05.2
- Fixed a ton of issues with different mods not working
Sorry for the mass of releases
Version 1.04.3
-Removed *.asi loader, since it just made problems, for some people, for some reason
Version 1.04.2
- Switched *.asi loader to dinput8.dll, to confuse less people.
Version 1.04.1
- Added own *.asi loader "dsound.dll"
Version 1.04
- Added native: SET_TEXT_FONT
- Added native: SET_TEXT_JUSTIFICATION
- Added native: DRAW_LINE
- Added export: switchLabel
- Added export: getCommandFromHash
Version 1.03
Added getStaticPtr Export
Added Reload Support
Version 1.0.5
- Added Interface to manage Scripts loaded by the Hook and Unload button for ScriptHook.
Version 1.0.1
- Support for old mod versions
- Native Command Caching to improve Performance
A working ScriptHook for the latest game patch. Build 1491.16 No loading checkpoint bug! Open Key Interface: F12
Developers:
To use the below listed exports, link the provided library in your project!
New Features: 1. Added native: DRAW_LINE How to use: void DRAW_LINE(float fromX, float fromY, float fromZ, float toX, float toY, float toZ, int r, int g, int b, int a) { invoke<void>(0xec2ab68b,fromX,fromY, fromZ, toX, toY, toZ, r, g, b, a); } // 0xec2ab68b Add this line to your natives.h file.
2. Added native: SET_TEXT_FONT How to use: void SET_TEXT_FONT(int fontType) { invoke<void>(0x3EDE2F10, fontType); } // 0x3EDE2F10 Add this line to your natives.h file.
3. Added native: SET_TEXT_JUSTIFICATION How to use: /* 0=Center,1=Left,2=Right */ void SET_TEXT_JUSTIFICATION(int justifyType) { invoke<void>(0x1B929974, justifyType); } // 0x1B929974 Add this line to your natives.h file.
4. Added export: getStaticPtr (called Locals in the decompiled scripts) Add this line to your main.h file: DLL_IMPORT uint64_t* getStaticPtr(const char* scriptName, int staticIndex);
Usage: uint64_t* static = getStaticPtr("script_name" 12345); LOG(*static)// to read *static = 0xCOFFEEBABE// to write
5. Added export: switchLabel (Switch text labels from the game with your own, this will allow you to provide your custom text in input boxes) Add this line to your main.h file: DLL_IMPORT void switchLabel(const char* oldLabel, const char* newLabel);
6. Added export: getCommandFromHash (Returns a pointer to the command of the provided hash) Add this line to your main.h file: DLL_IMPORT void* getCommandFromHash(uint64_t hash);