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

[GTAIV|REL] A l i c e


Alexander Blade
 Share

  • 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

is there anypossibilite to use these natives?

 

SET_PED_IS_DRUNK

SET_PED_WONT_ATTACK_PLAYER_WITHOUT_WANTED_LEVEL=2, False

 

I have tryd, but didn't work.

 

 CallNative("SET_PED_WONT_ATTACK_PLAYER_WITHOUT_WANTED_LEVEL")   PushInt(PLAYER_INDEX) PushInt(1) CallNative("SET_PED_IS_DRUNK")   PushInt(PLAYER_INDEX) PushInt(1)

 

 

Tryd some other ways to like PushInt(0), 2,1 and so on.

Link to comment
Share on other sites

new Script That I Found (not Very New Thought)

Superman That Can Touch the Explode

 

PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0

 

function InitScript()

  -- blah-blah-blah

  Wait(10000)

end

 

function WaitForPlayerPoolCreation()

  while (IsPlayerPoolCreated() == 0) do

    Wait(2000)

  end

end

 

function 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_CHAR)

  PushInt(50)

  CallNative("IS_CHAR_HEALTH_GREATER")

  if (GetIntResult() == 1) then

  PushInt(PLAYER_CHAR)

  PushInt(800)

  CallNative("SET_CHAR_HEALTH")

  PushInt(PLAYER_CHAR)

  PushInt(800)

  CallNative("ADD_ARMOUR_TO_CHAR")

  end

end

 

function main()

  InitScript()

  while true do

    WaitForPlayerPoolCreation()

    WaitForValidPlayer()

     SetPlayerProperties()

Wait(5000)

  end

end

 

-- start

main();

 

Edit: My Toogleable Health Get My Gta Crash So I Build A Automatic One,I Called it

"The Legendary Regenerating Skill"

Edited by aceship
Link to comment
Share on other sites

Hi guys.

I've got a little problem when I want to change the weapons who spawn with superman.

I changed the Pool Cue to a Knife (3) and when i go IG, the knife always spawn in my inventory, make me switch to this weapon. For example i'm with the AK47, it's automatically switch to the knife.

Any idea how solve it ?

 

(Sorry for my english, french guy ;p )

Link to comment
Share on other sites

Dont Use The Superman Giveweapon, It Can Make Your Weapon Not Changing

(i Got This one Time And After That I Build My Weapon Spawner And This time Have 10 Of Weapon In My Script And Weaponinfo.xml )

Now I Have 10 New Weapon and Change It WIth Numpad 0-9

Link to comment
Share on other sites

So I need to have 2 files, 1 with god mode and 1 with the spawner.

What the script for have a M4 and a knife ? That ?

 

---------- GTA IV Alice "WeaponSpawn" script example -------------------- © Alexander Blade 2008 ------------middle button to spawn weapon--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) endfunction GiveWeapon(Num) PushInt(PLAYER_CHAR) PushInt(Num) CallNative("HAS_CHAR_GOT_WEAPON") if (GetIntResult() == 0) then   PushInt(PLAYER_CHAR)   PushInt(Num)   PushInt(30000)   PushInt(0)   CallNative("GIVE_WEAPON_TO_CHAR") else   PushInt(PLAYER_CHAR)PushInt(Num)PushInt(30000)CallNative("SET_CHAR_AMMO") endendfunction SetPlayerProperties() PushInt(PLAYER_INDEX) PushInt(0) CallNative("ENABLE_MAX_AMMO_CAP")[color=red]  GiveWeapon(3) GiveWeapon(5) GiveWeapon(9) GiveWeapon(10) GiveWeapon(13) GiveWeapon(15) GiveWeapon(16) GiveWeapon(18)[/color]endfunction main() InitScript() while true do   if (IsKeyPressed(04) == 1) then WaitForPlayerPoolCreation()     WaitForValidPlayer()     if (IsKeyPressed(04) == 1) then   SetPlayerProperties()   Wait(2000) end   end Wait(300) endend-- startmain();

 

Or 1 per 1 ?

And for the God Mode, what the exact script ? When I tryed I got the spawn again ...

Help T-T

 

Edit : Everything solved, stupid backup of my .lua ...

Edited by Zaephon
Link to comment
Share on other sites

Dont Use The Superman Giveweapon, It Can Make Your Weapon Not Changing

(i Got This one Time And After That I Build My Weapon Spawner And This time Have 10 Of Weapon In My Script And Weaponinfo.xml )

Now I Have 10 New Weapon and Change It WIth Numpad 0-9

@aceship

 

Can you show me this scirpt from your Weapon Spawner

Link to comment
Share on other sites

new Script That I Found (not Very New Thought)

Superman That Can Touch the Explode

 

PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0

 

function InitScript()

  -- blah-blah-blah

  Wait(10000)

end

 

function WaitForPlayerPoolCreation()

  while (IsPlayerPoolCreated() == 0) do

    Wait(2000)

  end

end

 

function 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_CHAR)

  PushInt(50)

  CallNative("IS_CHAR_HEALTH_GREATER")

  if (GetIntResult() == 1) then

  PushInt(PLAYER_CHAR)

  PushInt(800)

  CallNative("SET_CHAR_HEALTH")

  PushInt(PLAYER_CHAR)

  PushInt(800)

  CallNative("ADD_ARMOUR_TO_CHAR")

  end

end

 

function main()

  InitScript()

  while true do

    WaitForPlayerPoolCreation()

    WaitForValidPlayer()

     SetPlayerProperties()

Wait(5000)

  end

end

 

-- start

main();

 

Edit: My Toogleable Health Get My Gta Crash So I Build A Automatic One,I Called it

"The Legendary Regenerating Skill"

You can still die from big falls though, so it's not useful.

Link to comment
Share on other sites

You could add a toggle button for the REAL superman script (SET_PLAYER_INVINCIBLE) which you can use for big heights.

 

Good idea happy.gif ?

Link to comment
Share on other sites

Already maded, See Last Post

 

And Building the touchable superman now<...:Upgrading:...>

 

Link to comment
Share on other sites

About the NoWanted script posted, it does crash the game (the looping version).

 

Simply bind it to a key, add it to the superman script or similar.

 

 

      if (IsKeyPressed(17) == 1) then       if (IsKeyPressed(49) == 1) then                  PushInt(0)         CallNative("CLEAR_WANTED_LEVEL")       end     end

 

 

This will clear your wanted level if you press ctrl + 1, however it takes the game 1ms up to 3s to "notice" (at least for me it does), so keep the keys pressed until you are cleared. ( In some situations the game still might crash though )

 

[ I also added a "Add Money" to that key, works fine ]

Link to comment
Share on other sites

Alexander Blade
Is there any way to push a string?

wait for a .2 alice version

Link to comment
Share on other sites

 

s there any way to push a string?

Pull a string and Wait For New Alice

 

And Please Do Not Change The Compatiblity Of Alice

Link to comment
Share on other sites

s there any way to push a string?

Pull a string and Wait For New Alice

 

And Please Do Not Change The Compatiblity Of Alice

Your modified Superman script (Explosion effects in-place) doesn't seem to work for me.

Is there a key I have to press/hold?

Link to comment
Share on other sites

Yeah It Not Completed Yet, And Like A Ironman That not New, First Built And Not Resisten With Explosion, But High Jump Will Make You not Die

Link to comment
Share on other sites

s there any way to push a string?

Pull a string and Wait For New Alice

 

And Please Do Not Change The Compatiblity Of Alice

Your modified Superman script (Explosion effects in-place) doesn't seem to work for me.

Is there a key I have to press/hold?

Yeah I don't think it works for me either. If the explosion is too close I'll just die 1 hit, and the regen sometimes takes a long time to kick in...if you have a bunch of cops around you all shooting, you may end up dieing.

Link to comment
Share on other sites

To be remembered there was such trainer for GTA SA, where on pressing the button the counter complete of game was equal 100 %, can, who will undertake to make it for IV?

Link to comment
Share on other sites

The native "DONT_DISPATCH_COPS_FOR_PLAYER" does exactly what you think it would do. You still keep the stars and the flashy lights on the minimap, however no cops come after you. I did run into a road block of 4 (hummers?) and they were hostile, but a few rockets cleared them and no more cops came.

Link to comment
Share on other sites

Only tested godmode (superman) and money adding, it look it works but you must hold the keys a view seconds ! only to show how make this scripts multifunctual smile.gif Great thing and many thanks to all involved of this alice release inlove.gif

 

 

 

--Trainee Script 0.1 by SEKoner--Press F1 = Toggle Suprman(God)--Press F2 = Clear Wanted Level--Press F3 = Set Money to 3754$--Press F4 = Toggle Gravity--globale variablenPLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, GRAV = 0function InitScript()-- Wake up neo ... wake up ....;)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 ToggleGod()if DO1 == 0 then  DO1 = 1  PushInt(PLAYER_CHAR)  PushInt(200)  CallNative("SET_CHAR_HEALTH")else  DO1 = 0end Wait(300) PushInt(PLAYER_INDEX) PushInt(DO1) CallNative("SET_PLAYER_INVINCIBLE") PushInt(PLAYER_INDEX) PushInt(DO1) CallNative("SET_PLAYER_NEVER_GETS_TIRED") PushInt(PLAYER_INDEX) PushInt(DO1)endfunction ClearWanted()PushInt(0)CallNative("CLEAR_WANTED_LEVEL")Wait(100)endfunction GiveMeMoney()PushInt(PLAYER_ID)PushInt(3754)CallNative("ADD_SCORE")Wait(100)endfunction ToggleGravity()if DO3 == 1 then  DO3 = 0else  DO3 = 1endPushInt(DO3)CallNative("SET_GRAVITY_OFF")endfunction main()InitScript()while true do  WaitForPlayerPoolCreation()  WaitForValidPlayer()   if (IsKeyPressed(112) == 1) then     ToggleGod()  end  if (IsKeyPressed(113) == 1) then     ClearWanted()  end  if (IsKeyPressed(114) == 1) then     GiveMeMoney()  end  if (IsKeyPressed(115) == 1) then     ToggleGravity()  end  Wait(5000)endendmain();

 

 

God mode adds default full-health (200) to the player to show that god mode is active cookie.giflol.gif

 

EDIT: Small fix wink.gif

Edited by SEKoner
Link to comment
Share on other sites

That Was A collection only Right?

Save Alice Folder Data Thought smile.gif

 

Don t use the f2 key, its for saving clip you know?

 

And

 

PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() -- blah-blah-blah Wait(5000)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do   Wait(1000) 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(500)  end  end  until (PLAYER_CHAR > 0)  end	function SetPlayerProperties() PushInt(PLAYER_CHAR) PushInt(0) CallNative("IS_CHAR_HEALTH_GREATER") if (GetIntResult() == 1) then  PushInt(PLAYER_CHAR) PushInt(1000000) CallNative("SET_CHAR_MAX_HEALTH")   PushInt(PLAYER_CHAR) PushInt(1000000) CallNative("SET_CHAR_HEALTH") PushInt(PLAYER_CHAR) PushInt(1000000) CallNative("ADD_ARMOUR_TO_CHAR") endendfunction main() InitScript() while true do   WaitForPlayerPoolCreation()   WaitForValidPlayer()    SetPlayerProperties()Wait(2000) end	end-- startmain();

 

The new one "The Legendary Regenerating Skill With Nanomachine DragonSkin"

Fewer Chance To Die, But Still Die When In Contact With Explosion, And Doesnt Die even Shooted By 100 N.o.o.s.e,guarenteed

High Place Only die When You Hit wall or Ground two Times In One Fall

 

Edited by aceship
Link to comment
Share on other sites

Yeah It Not Completed Yet, And Like A Ironman That not New, First Built And Not Resisten With Explosion, But High Jump Will Make You not Die

Sorry to sound like a nob but can you not start every single word with a capital letter it is really anoyying.

Thanks

user posted image

Link to comment
Share on other sites

HippieCommunist
Yeah It Not Completed Yet, And Like A Ironman That not New, First Built And Not Resisten With Explosion, But High Jump Will Make You not Die

Sorry to sound like a nob but can you not start every single word with a capital letter it is really anoyying.

Thanks

thats a sh*tty way of no-sounding-like-a-nob... sarcasm.gif

Link to comment
Share on other sites

 

Yeah It Not Completed Yet, And Like A Ironman That not New, First Built And Not Resisten With Explosion, But High Jump Will Make You not Die

Sorry to sound like a nob but can you not start every single word with a capital letter it is really anoyying.

Thanks

Instead of being obnoxious, you could actually contribute to this thread, by submitting a nice script and be constructive.

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.