Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

In-Game Trainer


Black Patriot
 Share

Recommended Posts

Black Patriot

Hello,

 

As part of my attempts to learn C# programing I've made a trainer for GTA IV. Currently it requires the .Net Script Hook, as well as all the hook's prerequisites.

 

Versions 1.0 through to 1.7 will only work with v0.86 of the .net hook, and thus only with GTA IV versions 1.0.0, 1.0.1 and 1.0.2. To use this trainer with version 1.0.3 and 1.0.4 you'll need Trainer v1.7.1 or later.

 

Any version of the Trainer after v1.7 requires the latest version of the .net hook, which is v0.893 at the moment

 

Current Features:

 

* Spawn any vehicle in the game, via the console. The script will attempt to find a best match to the car you type in.

* Spawn random pedestrians

* Recharge all your health and armor

* Add full ammo to all your weapons

* Remove Police attention

* Make yourself explode

* Weather Changer, cycle through all the weather settings

* Speedometer

* Weather Controller

* Taxi Spawner

* Time Changer

* Max Wanted Level Control

* Weapon Spawner GUI

* Vehicle Spawner GUI

* Invincibility

* Vehicle Color Changer, with GUI

* Helicopter Backup

* Dial-a-Bodyguard

* Command List

* Digital Speedometer and RPM gauge

* Master Control Panel (New in v1.9)

 

 

If you have any problems then let me know. The more detailed a description the better (especially an error log which can be found in the GTA IV root directory as ScriptHookDotNet.log)

 

Credits:

Vetra and Gangsta Killa, for their coding examples.

Costar for his help as a beta tester.

 

Have fun...

 

Whilst waiting for the GTAgarage mods to approve new versions you can grab the latest version here, at the Vallana Vetra forums:

In-Game Trainer

 

Click on the following images for larger versions.

NOTE: The text in the top left corner of the screenshots is not from this mod, its from another mod.

Edited by Black Patriot
Link to comment
Share on other sites

Dvt-MedShot

I think your title is a bit misleading because Awwu had already an Ingame Trainer...

Link to comment
Share on other sites

Black Patriot

That's a fair point, although the first thing I mention here is that my trainer is in C#, not C++.

In any case, i can't edit the title, at least not as far as i can tell.

Link to comment
Share on other sites

Hey BP, nice to see ya bring it here biggrin.gif

One thing you might want to put in your main post what game versions this does/doesnt work on, since ofcourse wont work on the newest, some ppl will dld thinkin, COOL! and find it wont work since so many ppl has 1.0.3 since they play online or updated ..

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.3 has been posted, and will be avaliable soon

 

Added - Weather Controller

Fixed - small bug in vehicle spawner

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.4 has been posted, and should be avaliable soon. As always it can be downloaded from the Vallana Vetra forums via the link in the first post.

 

Added - Taxi Spawner, you can now dial for a taxi to appear near you, it will drive to your current location, where you can get in by holding F. After that it works like a regular taxi. I made this function because whenever i wanted a taxi there was never one nearby, and the ones that are spawned when you call roman always take ages to get to you, whereas this one will spawn no more than 45m away, and seems to ignore 1 way streets lol.gif .

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.4.1 has been posted and will be avaliable soon, and can be downloaded from Vallana Vetra forums from the first post.

 

-Fixed bug with car spawner preventing the STALION from spawning

-Fixed bug with taxi spawner preventing more than 1 taxi from being called

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.5.1 has been posted, and should be avaliable soon. As always, it can be downloaded from the Vallana Vetra Software forums, the link is in the first post.

 

-Added Weapon Spawner

-Added Max Wanted Level Controller

-Improved explode command

-Code fixes to improve efficiency

 

There is also a youtube video of the new explode command:

 

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.6 has been posted, and will be available soon.

 

-Added GUI for the Weapon Spawner

-Added GUI for the Vehicle Spawner

(That's right, you don't need to use the console to spawn weapons or vehicles anymore, although the console vehicle spawner is still accessible)

 

If there are any bugs, then please let me know. And please leave a rating, whether you liked or hated the mod, ratings help everyone.

Link to comment
Share on other sites

Black Patriot

New Version!

Version 1.6.1 has been posted, and should be available soon.

 

-Added Invincibility

 

Special thanks to CoMPMStR for his help.

Link to comment
Share on other sites

This is good trainer, but you should make more features.

I believe that you can make even better InGame Trainer than Awwu. smile.gif

 

PS. I use Awwu's InGame Trainer

Link to comment
Share on other sites

Black Patriot

I'm working on helicopter delivered backup (bodyguards) as well as a vehicle color changer with an in-game GUI.

 

If you've got any other suggestions then I'd be happy to look at adding them. smile.gif

Link to comment
Share on other sites

  • 2 weeks later...
Black Patriot

New Version!

A new version has been posted, and will be available soon.

 

New in version 1.7

-Added Vehicle color changer, with separate controls for the primary and secondary colors. (this includes improvements in the GUI, allowing you to move the selection left and right, as well as up and down)

-Added helicopter backup, you can now call a phone number and have a bunch of goons heli-dropped at your current location.

 

Please leave a rating for this mod, whether you liked or hated it. The rating system only works if people use it wink.gificon14.gif

Link to comment
Share on other sites

  • 3 weeks later...
Black Patriot

Because HazardX has released a new version of his .net hook (which adds compatibility for GTA IV version 1.0.3 and 1.0.4) I will be posting a new version of the trainer that is compatible with it soon. The new version will require the new hook, because of the way the functions have changed there is no way to run an old version on the new hook. The new version will be soon, and brings a few small improvements in the general trainer.

 

EDIT:

I've released a BETA version of the trainer that adds compatibility with .net hook v0.88 BETA, but it is only available at the Vallana Vetra forums, the link is in the main post. I will not be releasing the new version here until I have fixed some small problems, at which time it will be released as version 1.7.1. If you don't want to use the beta version then don't install the new .net hook, all previous versions will work with hook version 0.86, but not with the new 0.88 release.

 

EDIT 2:

 

I've released another BETA version, also only at the Vallana Vetra forums on the main post. This one has compatibility with .net hook v0.89, and also fixes some compatibility problems that some features of the trainer was having.

Edited by Black Patriot
Link to comment
Share on other sites

Drunk Russian 9

Hey BP! I didn't know you were working on this. It looks great! I'll try it out and let you know what you can do to improve it.

Link to comment
Share on other sites

Black Patriot

Yeah, I've been making this trainer for about 2-3 months now, if not longer. If you've got any suggestions or problems then bring them either here or at the Vallana Vetra forum topic, either way I'll see it.

Have fun biggrin.gif

Link to comment
Share on other sites

Black Patriot

@Demon101

Thanks, glad you're enjoying it

 

New Version!

 

A new version has been posted, and will be available whenever the mods get around to approving it. As always, it can be downloaded from the Vallana Vetra forums. Whilst there I also recommend checking out the GTA IV Overhaul SE, currently only available at the Vallana Vetra forums.

 

Here is everything that has been added since the 1.7 release

 

 

Version 1.7.1 BETA

 

-Added ability to go left and right with the vehicle spawner GUI, if a vehicle has been selected, pressing right again will spawn it, left will go back to the letter selection

-Added compatability with HazardX's .net Script Hook version 0.88 BETA, it is now required for the script to work

-Temporarily removed Helicopter Backup, error with new hook is causing the script to crash, the feature will be enabled again when the problem has been fixed

-Temporarily removed color changer GUI, new hook is causing weird effect with the rectangles, will be restored when fixed

 

Version 1.7.1 BETA 2

 

-Fixed Helicopter Backup mode, it now works as it did before

-Fixed some problems with the Color Changer GUI, however it still has some issues, however it does work

-Fixed small error with the ammo regeneration, which was affecting god mode as well, it no longer forces the game to switch to the molotov every second when god mode is on

-Tweaked a few things

 

Version 1.7.1 BETA 3

 

-Added DirectX forms for the color changer, based on HazardX's example code, release is pending his approval

-Added the ability to type the first letter of a car name when the car spawner GUI is open, it will now go to that letter and show you the possible cars.

 

Version 1.7.1

 

-Permission granted by HazardX for use of his example code in the Trainer, so the new color changer can now be released to the public

-Improved the Helicopter backup behavior, they will now run to the player, instead of walk

 

Once again, if you liked or hated the mod, then leave a rating. If you have any problems then let me know, and I'll do my best to fix them. smile.gif

Link to comment
Share on other sites

LOL!! Black Patriot i think you have to update it again because HazardX released GTAIV .Net Script Hook v0.892 BETA and i dont think it works for me colgate.gif

 

Link to comment
Share on other sites

Black Patriot

Yeah, I saw that. I was actually the first person to post about it in the .net hook thread after him biggrin.gif . Anyway, I've already got a version ready, but I'm trying to fix a few issues before I release it. If that takes too long then I'll release it as a beta, and just fix the problems later. wink.gif

Link to comment
Share on other sites

Black Patriot

New version

 

It'll be available soon, but can be downloaded from the Vallana Vetra forum right now if you can't wait.

 

Version 1.8

 

-Added Command Map, shows all current commands and keys

-Added bodyguard, spawns a car nearby to deliver a bodyguard to your location

-Added RPM gauge, a speedometer gauge, and a "digital" speed readout

 

Don't forget to leave a rating at GTA Garage.

Link to comment
Share on other sites

  • 2 weeks later...
Black Patriot

New Version

 

I've posted another version, it'll be up soon, hopefully. If you can't wait then grab it from the Vallana Vetra forums.

 

I'll post the change log for both the 1.9 and the 1.9 beta

 

Version 1.9 BETA

 

-Added Master Control Panel, allows the player to toggle or change many of the trainer's settings in-game and on the fly

-Added warning for the helicopter backup command because of a possible issue with certain versions of GTA IV

-Updated the digital number textures, they have been overhauled to increase their quality

 

Version 1.9

 

-Improved Master Control Panel, now allows the player to set the desired weather for the weather controller, and to

instantly change the weather conditions on the fly.

 

Don't forget to leave a rating.

Link to comment
Share on other sites

  • 3 months later...
kennycoverdell

Should we just create a script folder in "C:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV" or what? would be appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.