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. Forum Support

    3. Suggestions

C++ Script Hook


aru
 Share

Recommended Posts

NoTimeToDrive

yo aru.

 

no problems here would just like to say thank you,for all the work you do for us. cool.gif

 

It is from this side very valued!!! rolleyes.gif

 

thank's men and cheers!!..Shifty41s_beerhatsmilie2.gif

 

bye greats Ed

Link to comment
Share on other sites

Thank you! it's work perfectly with 1.0.6.0 and Windows XP!

 

And I love the DevLoader it's a utopian tools for developing mods!^^

 

@kompajasi : Try the new version, it work for me.

 

Link to comment
Share on other sites

very nice aru its people like you that really brings the gta community together & its mods.

keep up the good work

Link to comment
Share on other sites

KoV Liberty

Hey. I've been trying to mod GTA IV for many, many weeks now. I've tried to go through every single possible ASI loader and every possible solution to fix the problem of the game crashing. Anyways, I've determined (after deleteing/restoring the Scripthook that you have and by every other person on this site who made one) that the scripthook is the problem. These are my system's specs:

 

user posted image

 

Any way to fix this crap? I'm really frustated. dontgetit.gif

 

Alex

 

Edit: And this is my folder that I have this in. Any more stuff I need or stuff I dont'? please, I'm desperate.

 

user posted image

 

Any guests that could possibly help, my email: [email protected]

Edited by KoV Liberty
Link to comment
Share on other sites

KoV Liberty, you're using an old version of ScriptHook (as judged by the file size). Please update to the latest.

Link to comment
Share on other sites

Hello guys,

 

 

My GTA IV:

1.0.4.0

i have used Scripthook 0.4.0 it workds fine alone, but + with the newest scriphookdotnet, i get an VIsual c RUNITME ERROR?

when i use Scriphook 0.5.1 alone it doesnt work+ the newest scripthookdotnet i get again an Visuale C ERROR?

and i have used this things too:

 

Alexander's AsiLoader - FORUM LINK

- listener's XLiveLess, including an AsiLoader - FORUM LINK

- YAASIL - Yet Another ASI Loader - FORUM LINK

 

only Sripthook 0.4.0 works (alone) with this things...

 

WHY???

 

iam so dissaponted...

gta 4 is a great game but this thins are annoying me !

PLease guys help me!

 

note:

i have installed microsoft visual c 2010

 

greets

kerim26

 

Link to comment
Share on other sites

KoV Liberty
KoV Liberty, you're using an old version of ScriptHook (as judged by the file size). Please update to the latest.

As by this thread, that was the latest file. Btw, i run the game on verion 1.0.3.0 so that may shed some light on the dilemma.

 

Alex

Link to comment
Share on other sites

why i cant compile script hook ? i need to programme some .cpp files for it ? or can be problem in my x64 Win ?

Link to comment
Share on other sites

My GTA wont launch when I have the scripthook.dll file in my IV directory.

 

It gives the following error message in the log:

 

[FATAL] Failed to detect game version

 

 

This is on EFLC, unpatched.

 

I tried the latest version (0.51 i think), 0.5 AND 0.4, none worked.

 

Thanks in advance smile.gif

Link to comment
Share on other sites

My GTA wont launch when I have the scripthook.dll file in my IV directory.

 

It gives the following error message in the log:

 

[FATAL] Failed to detect game version

 

 

This is on EFLC, unpatched.

 

I tried the latest version (0.51 i think), 0.5 AND 0.4, none worked.

 

Thanks in advance smile.gif

You need at least patch 1 for EFLC, won't work with the unpatched (released) version.

 

 

Link to comment
Share on other sites

^ Use scripthook.dll version 0.4.0 for patch 4 and 5.

 

 

Link to comment
Share on other sites

 

Awesome! Very good work!

good job ; )

but I have several questions...

 

Where are saved all cars ?

Where are saved all objects ?

Where are saved all 5 clothes for bodyguard/ped ?

 

where all vehicles/all objects/all 5 clothes for bodyguard/ped are stored?

 

What I can use to edit saved objects, saved cars, saved clothes for peds/bodyguards ?

 

I know yet a bit bugs...

 

If I have version 5.9 under 1.0.7.0 so what I must change to update to version 6.1 ? ;

 

 

GTAIV .Net Script Hook v1.7.1.4 BETA

what functionality are there ? ;

Edited by rapit7
Link to comment
Share on other sites

i m prpably found bug, if i m on Double T, god mod doesnt work

 

EDIT: pls can you add NATIVE SetCarMaxSpeed and SetCarMinSpeed ?

Edited by Kucikuc24
Link to comment
Share on other sites

 

Native:

 

CreateCar(MODEL_POLICE, -428.052, 1500.95, 18.8094, &POLICE, 1);

 

 

 

 

 

 

 

something wrong...... What???...help me

Link to comment
Share on other sites

you dont have correct coordinates....Correct are: x, y, z, not numbers...or try this:

 

f32 your x,your y,your z;CreateCar(model, x, y, z, &vehicle, true);

 

Link to comment
Share on other sites

Hi.

Someone played Demo of "Sniper:Ghost Warrior"? There is link on YouTube[1:00 - i think about this]:

 

 

I saw on Native can get "target of ped" and change camera [there is some mod for camera viewer in Asi]. So...

 

Plan of Script:

If You get some sniper [3 weapons] and if...

you press Right Mouse Buttion and press some mayby "Shift" or "Tab" then ...

Give bullet time and get id of target ped and...

If player press Left Mouse Buttion on "Tab function" then...

Camera go to this ped [mayby super ultra zoom, or player teleport of 1 meter but invisible and FOV 90 ...

And near 3 second from Pressed Left Mouse buttion, camera back to player...

End script

 

 

I dont know how to write this. I lame. But i think this is imposiible. If not can change directon, then only zoom to this ped [pleace front when shot - but closer].

 

Someone get learn me or make this? I think its will be very popular....

Edited by Nevitro
Link to comment
Share on other sites

CreateCar(MODEL_POLICE, -428.052, 1500.95, 18.8094, &POLICE, 1);

 

THAT OK....i dont speak english...so i try with google translation..sorry.....

 

what should with &POLICE

 

example: CreateCar(MODEL_POLICE, -428.052, 1500.95, 18.8094, &90, 1);

or

CreateCar(MODEL_POLICE, -428.052, 1500.95, 18.8094, &"POLICE", 1);

 

 

CODE:

static void CreateCar(u32 nameHash, f32 x, f32 y, f32 z, Vehicle *pVehicle, b8 unknownTrue)

 

I do not know what write: Vehicle *pVehicle

CreateCar(MODEL_POLICE, -428.052, 1500.95, 18.8094, Vehicle *pVehicle, 1);

 

WHAT???

 

 

Link to comment
Share on other sites

thanks.....

 

Ped pPed;

eModel MODEL_M_Y_GENSTREET_11;

f32 px,py,pz,rRot;

CreateChar( 8, MODEL_M_Y_GENSTREET_11, 724.729, -289.733, 5.8247, &pPed, 1);

SetCharHeading(pPed, 90);

 

 

What wrong???????

Link to comment
Share on other sites

you want ped spawner ?

 

void CustomFiberThread::SpawnPed(eModel model){RequestModel(model);while(!HasModelLoaded(model)){ Wait(0);}Ped ped = GetPlayerPed();f32 x,y,z;Ped createdchar;GetCharCoordinates(ped, &x, &y, &z);CreateChar(0, model, x+2, y, z, &createdchar, true);// http://www.gtamodding.com/index.php?title=Ped_typeSetCharRandomComponentVariation(createdchar);MarkModelAsNoLongerNeeded(model);}

 

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

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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