Using Injector
0

5 posts in this topic

Recommended Posts

I just started playing M2 again, using Steam although I do have the game. I bought it the day it came out. Like everyone else, I waited and waited and waited for it.

 

I'm not understanding what it is you're supposed to do with Injector. What I want is to have unlimited ammo, unlimited health, etc. I have played through the game without those things, now I'd like to do what I used to do, with Mafia 1 and 2 and just run around and cause havoc without getting killed.

 

I have Injector in the PC folder. When I click on MafiaInjector, my Mafia 2 game starts and works fine, but that's as far as I get. Pressing F1 doesn't do anything and I don't know if it's supposed to or not.

 

Anyway, what do I do?

 

Thanks!

Share this post


Link to post
Share on other sites

Have you edited the F1 file in notepad or wordpad and added a script?

 

You need to do that, then save it.

 

Click on the game, load on a mission and press F1.

Share this post


Link to post
Share on other sites

No, I haven't edited anything. F1 already has a script (posted below). F1 to F8 have the same script. F9 to F11 all have scripts, but they're different. F12 is empty.

 

Is there a place to find the correct code to do the things I want to do?

 

Why aren't the current scripts working? I've been pushing F1, it doesn't do anything.

 

FYI, I downloaded Injector v.7.

 

This is what my log file says:

(the top line is blank then)

loaded

loaded

thread loaded

loaded

loaded

thread loaded

--------------------------------------

 

Contents of F1 to F8.lua:

 

game.game:GetActivePlayer():SetDemigod(true)

game.game:GetActivePlayer():EnableInjury(false)

game.game:GetActivePlayer().invulnerability = true

game.shop:SetAllShopExplored(true)

game.game:GetActivePlayer():ShowHat(false)

Joe = game.entitywrapper:GetEntityByName("Joe")

Joe:SetPos(game.game:GetActivePlayer():GetPos())

Joe:InventoryAddWeapon(11, 250)

Joe:Follow(game.game:GetActivePlayer(), "RUN", 2, 5)

Joe:SetDemigod(true)

Joe:EnableInjury(false)

Joe.invulnerability = true

game.game:GetActivePlayer():RegisterFollower(Joe)

game.game:GetActivePlayer():GetOwner():SetPainting("HotRod-plameny3")

game.game:GetActivePlayer():GetOwner():SetActualTuningTable(3)

game.game:GetActivePlayer():GetOwner():SetColor(34,38)

game.game:GetActivePlayer():GetOwner():SetSPZText("GERARD", true)

Share this post


Link to post
Share on other sites

I got problem with Injector too ... umm , do i need original game to make it run ???

Share this post


Link to post
Share on other sites

Injector don't seem to work with re-packed versions of the game.

 

 

"I hate carrying my disc around with me

"

 

 

 

Therefor I just smoke more myself to make up what Vito don't. 

 

 

 

Share this post


Link to post
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

0