Announcement

If you are having trouble logging in, please reset your password.
If you are not getting an activation email, please check your spam or
use the "Contact Us" to contact an admin.
August 30, 2013, 01:08:49 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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!

#1 August 30, 2013, 01:17:32 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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.

#2 August 30, 2013, 02:03:37 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
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



<hr class="bbcode_rule" />



 




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)

#3 August 31, 2013, 04:28:16 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
I got problem with Injector too ... umm , do i need original game to make it run ???

#4 August 29, 2014, 08:25:17 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
[font=cursive:2xi0vo8f]Injector don't seem to work with re-packed versions of the game.[/font:2xi0vo8f]



 


 




[font=cursive:2xi0vo8f]"[/font:2xi0vo8f]
[font=cursive:2xi0vo8f]I hate carrying my disc around with me[/font:2xi0vo8f]
[/size]




"[/size]


 




 


 




[font=cursive:2xi0vo8f]Therefor I just smoke more myself to make up what Vito don't. [/font:2xi0vo8f]