Reply To: Turning Off the GUI

Home / Forums / Modders Corner / Mafia Editing / Mafia mods / Turning Off the GUI / Reply To: Turning Off the GUI

Bank Notes: 1,960
June 24, 2012 at 1:51 pm #13166

for Mafia2

with the injector

 

to take the widgets out: game.hud:Show(false)

not to show the character: game.game:GetActivePlayer():ShowModel(false)

use (true) to reactivate

 

to move around easily to get a nice view

bindKey (“I”,”v = game.game:GetActivePlayer():GetPos() v.y = v.y + 2 game.game:GetActivePlayer():SetPos(v)”)

bindKey (“J”,”v = game.game:GetActivePlayer():GetPos() v.x = v.x – 2 game.game:GetActivePlayer():SetPos(v)”)

bindKey (“K”,”v = game.game:GetActivePlayer():GetPos() v.y = v.y – 2 game.game:GetActivePlayer():SetPos(v)”)

bindKey (“L”,”v = game.game:GetActivePlayer():GetPos() v.x = v.x + 2 game.game:GetActivePlayer():SetPos(v)”)

bindKey (“U”,”v = game.game:GetActivePlayer():GetPos() v.z = v.z + 2 game.game:GetActivePlayer():SetPos(v)”)

bindKey (“O”,”v = game.game:GetActivePlayer():GetPos() v.z = v.z – 2 game.game:GetActivePlayer():SetPos(v)”)