Jump to content

[GTAIV|REL] A l i c e


Alexander Blade
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • aceship

    107

  • Alexander Blade

    94

  • Marcin6

    63

Top Posters In This Topic

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

And I Said 23 to 35 not 35 to 23

Edited by aceship
Link to comment
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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Thats Why I Say Maybe Crash,

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

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

 

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

 

 

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

 

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
Link to comment
Share on other sites

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 !

Link to comment
Share on other sites

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.

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