Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Alexander Blade

[GTAIV|REL] A l i c e

Recommended Posts

danharibo
code

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

hm now we need some kind of air control...

If you jump off a motorcycle at speed you can fly across the gap between the islands

Share this post


Link to post
Share on other sites
Killuminati91
code

 

Fixed the script, shouldn't cause major lag, and should work properly. Press End to toggle Gravity on/off

hm now we need some kind of air control...

If you jump off a motorcycle at speed you can fly across the gap between the islands

yeh already did that lol... but i mean somekind of superman-flymode

Share this post


Link to post
Share on other sites
aceship

Danharibo: I Said

Change The Gravity Code, IT can't Be Pressed, Change Iskeypressed 23 to 35

35 Is the Decimal Of End and There Are No 23, it was hexadecimal ,

i know this from a person in here

 

Marcin6 : Use My Weapon Spawner?

Edit : Here it is http://www.gtaforums.com/index.php?showtopic=386908&st=20

And Additional Question:

What Program Did You Use To Edit Or Make Animated Gif?

Edited by aceship

Share this post


Link to post
Share on other sites
danharibo
Danharibo: I Said
Change The Gravity Code, IT can't Be Pressed, Change Iskeypressed 23 to 35

35 Is the Decimal Of End and There Are No 23, it was hexadecimal ,

i know this from a person in here

 

Marcin6 : Use My Weapon Spawner?

Edit : Here it is http://www.gtaforums.com/index.php?showtopic=386908&st=20

And Additional Question:

What Program Did You Use To Edit Or Make Animated Gif?

I did, that's why it works monocle.gif

Share this post


Link to post
Share on other sites
Marcin6

But then I`ve be gut this lot`s of ammo ?

Share this post


Link to post
Share on other sites
jadire

Doesn't work, im pressing END and nothing is happening.

Share this post


Link to post
Share on other sites
sjaak327
Doesn't work, im pressing END and nothing is happening.

That's because the key you need to press is 5 smile.gif

 

Or change the value in iskeypressed(35) to (23) and use end.

 

 

Share this post


Link to post
Share on other sites
danharibo
Doesn't work, im pressing END and nothing is happening.

That's because the key you need to press is 5 smile.gif

 

Or change the value in iskeypressed(35) to (23) and use end.

The Key I'm pressing is End. Not sure why it would not work

Share this post


Link to post
Share on other sites
aceship

I Think Not 35, it was 53 Right? to use 5

And I Said 23 to 35 not 35 to 23

Edited by aceship

Share this post


Link to post
Share on other sites
Killuminati91

35 works with end BUT:

 

it doesnt turn on with every press, its like every 3rd keypress. turning off works fine

Share this post


Link to post
Share on other sites
danharibo
35 works with end BUT:

 

it doesnt turn on with every press, its like every 3rd keypress. turning off works fine

I think that's a bug with gtaIV, if you tap the key between a frame, it doesn't realize you pressed the key

Share this post


Link to post
Share on other sites
aceship

Try Delete All The Wait(Maybe Crash)

 

In The Function Main Only First, After That not Working , Delete all The wait,

And Ask Again ,

What Program Did You Use To Create An Animated Gif?

Share this post


Link to post
Share on other sites
Intosia
Try Delete All The Wait(Maybe Crash)

 

In The Function Main Only First, After That not Working , Delete all The wait,

And Ask Again ,

What Program Did You Use To Create An Animated Gif?

Dont delete the Wait in the main while loop, it will eat alot of CPU.

 

About the keypressing, i noticed i had to press it at least 1,5 second before it registers.

Share this post


Link to post
Share on other sites
aceship

Thats Why I Say Maybe Crash,

And What Code Did You Use "If I There are an Weapon (3) Then Don t Do Anything"?

Share this post


Link to post
Share on other sites
sjaak327
I Think Not 35, it was 53 Right? to use 5

And I Said 23 to 35 not 35 to 23

Yes I mixed them up smile.gif

 

The code is using 23, the hexadecimal value of that is 17, that won't work.

 

Anyway the script isn't doing anything for me.

 

 

Share this post


Link to post
Share on other sites
Marcin6
Here's the Superman script without the weapons.

 

Invincibility Script

 

 

---------- GTA IV Invincibility -------------------- Code © Alexander Blade 2008 ---------- --global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() -- blah-blah-blah Wait(10000)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do   Wait(2000) endendfunction WaitForValidPlayer() PLAYER_CHAR = 0 repeat    CallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) then  PushInt(PLAYER_ID)  CallNative("CONVERT_INT_TO_PLAYERINDEX")  PLAYER_INDEX = GetIntResult()  PushInt(PLAYER_INDEX)     PushVarPtr()	  CallNative("GET_PLAYER_CHAR")  PLAYER_CHAR = GetIntParam(1)  if (PLAYER_CHAR <= 0) then    Wait(1000)  end  end  until (PLAYER_CHAR > 0)  end	function SetPlayerProperties() PushInt(PLAYER_INDEX) PushInt(1) CallNative("SET_PLAYER_INVINCIBLE") PushInt(PLAYER_INDEX) PushInt(1) CallNative("SET_PLAYER_NEVER_GETS_TIRED") PushInt(PLAYER_INDEX) PushInt(1)endfunction main() InitScript() while true do   WaitForPlayerPoolCreation()   WaitForValidPlayer()    SetPlayerProperties()Wait(5000) end	end-- startmain();

 

 

Save as invincible.lua or whatever in Program Files\Rockstar Games\Grand Theft Auto IV\Alice.

 

EDIT : Remember to delete superman.lua Marcin6 if you want rid of the constant weapons set.

Please do that again but , without weapons , but with lot`s of ammo like in superman

Share this post


Link to post
Share on other sites
tigerx

 

Please do that again but , without weapons , but with lot`s of ammo like in superman

 

you can change the weapons you get with the superman script.

Share this post


Link to post
Share on other sites
aceship

Marcin6 : Delete CallNative("ENABLE_MAX_AMMO_CAP") This Will Give Max Ammo

And

else

    PushInt(PLAYER_CHAR)

PushInt(Num)

PushInt(30000)

CallNative("SET_CHAR_AMMO")

If You Want Change The Ammo , Change Pushint(30000) Into Number Of Ammo Did You Like

Or Delete It if you Want the ammo When You buy Or Get

Share this post


Link to post
Share on other sites
Marcin6

 

Marcin6 : Delete CallNative("ENABLE_MAX_AMMO_CAP") This Will Give Max Ammo

And 

else

    PushInt(PLAYER_CHAR)

PushInt(Num)

PushInt(30000)

CallNative("SET_CHAR_AMMO")

If You Want Change The Ammo , Change Pushint(30000) Into Number Of Ammo Did You Like

Or Delete It if you Want the ammo When You buy Or Get

OMG xD

 

I wanna ammo !

But i wan`t to change weapons in game , let`s see now i wan`t AK and then M4 , to change it

 

 

Share this post


Link to post
Share on other sites
aceship

Save Two Of the weaponspawner.lua and Change

GiveWeapon(6) into :

GiveWeapon(14) For Ak

GiveWeapon(15) For M4

And Did You Change This

 

else

    PushInt(PLAYER_CHAR)

PushInt(Num)

PushInt(30000)

CallNative("SET_CHAR_AMMO")

Or Delete it?

 

Marcin6:Our Nation Is Mirrored!

Share this post


Link to post
Share on other sites
Cogrock

Would any of you Chaps/Chappets be kind enough to add a list of weapons an their number please.

Eg. GiveWeapon(14) For Ak

GiveWeapon(15) For M4

Or could you advise on where to look to find the correct wepon numbers. colgate.gif

 

Everytime i try i manage to change the wepons but none of them work.

I changed my AK 47 to an M4 and then all my other weapons stopped working suicidal.gif

 

Thanks I'd Appretiate some help.

Share this post


Link to post
Share on other sites
aceship

There Are Posted There But Here

 

if you want

Chance Giveweapon(Num)

Num:

 

 

Giveweapon(num)

1:Baseball bat

2:Pool Cue

3:Knife

4:Grenade

5:Molotov

6:Rocket

7:Glock Pistol

8:don't know yet

9:deagle

10:Shotgun

11:barreta shotgun

12:uzi

13:mp5

14:ak

Edit:

15:m4

16:Sniper rifle

17:M401a Sniper

18:rocket launcher

 

 

Are Your Weapon Info.xml Modded?

Share this post


Link to post
Share on other sites
Cogrock

 

There Are Posted There But Here

 

if you want

Chance Giveweapon(Num)

Num:

 

 

Giveweapon(num)

1:Baseball bat

2:Pool Cue

3:Knife

4:Grenade

5:Molotov

6:Rocket

7:Glock Pistol

8:don't know yet

9:deagle

10:Shotgun

11:barreta shotgun

12:uzi

13:mp5

14:ak

Edit:

15:m4

16:Sniper rifle

17:M401a Sniper

18:rocket launcher

 

 

Are Your Weapon Info.xml Modded?

No my Weapon.xml isn't modded, i did a clean install for this mod.

 

I'm sure these numbers will be a great help.

And i really appretiate you helping me.

 

Thank You

 

Also setting a weapon as 6 is pretty funny.

 

EDIT - I solved the problem with my weapons not working after changing any of the numbers.

I just started a new game. Everything works great now.

I'd like to extend my greatest thanks to Alexander Blade firstly for this Godly mod.

And to aceship for his extra bit of help for the slower people on this forum *cough*ME*cough*

Edited by Cogrock

Share this post


Link to post
Share on other sites
aceship

Marcin 6 : Use Two Weapon Spawn And Change the second Weapon Spawn Script (iskeypresed(04)) to Another key

 

Cogrock : Look My Avatar , That can be done with the rocket !

Share this post


Link to post
Share on other sites
Marcin6

But when i remove this from superman script i don`t have this super ammo

Share this post


Link to post
Share on other sites
aceship

Add this on the GiveWeapon()

CallNative("ENABLE_MAX_AMMO_CAP")

Share this post


Link to post
Share on other sites
Marcin6
Add this on the GiveWeapon()
CallNative("ENABLE_MAX_AMMO_CAP")

But i use superman.lua and this line is in this script

Share this post


Link to post
Share on other sites
honza94

Hello, I have GTA IV retail with patch (gtaiv.exe version 1.0.1.0), WinVista SP1 x86. I copy and rewrite all files as in install notes. Now I can't run GTA IV, is there chance to I run next version of this?

When I start GTA IV (after rockstar social club) system show this:(in english program Grand Theft Auto IV stop running. Search resolution of problem.

 

http://img201.imageshack.us/img201/6983/gtaiverrorph0.jpg

 

I reppot this as BUG and when you needed more ingo to find problem i will send you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.