Jump to content

Invulnerability


InsanePyro

Recommended Posts

I just got Vice City through Steam (had it for PS2 only since it was released) and I have come to find normal trainers don't work with the Steam edition. So I was just wondering if I could go about making Tommy invulnerable via modding the main.scm somehow. Thanks!

Link to comment
Share on other sites

You can use opcode 02AB:

 

 

02AB: set_actor $PLAYER_ACTOR immunities BP 1 FP 1 EP 1 CP 1 MP 1

 

 

Where BP = Bulletproof, FP = Fireproof, EP = Explosion-Proof, CP = Collision-Proof, and MP = Melee-Proof.

0 means disabled and 1 enabled.

 

You can find more info about the opcode in GtaGaming Opcode Database

 

Hope it helps biggrin.gif

Link to comment
Share on other sites

Yeah it does....where do I put it (in the main.scm obviously)? It's been ages since I played around with the main.scm

Link to comment
Share on other sites

Where do I put this in the main.scm? No matter where I put it the game either crashes or it has no effect at all.

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.