Reply To: Mafia 3 Modding (Mega Thread)

Download Mods for the Mafia Games Forums Mod Creation Mafia 3 Modding (Mega Thread) Reply To: Mafia 3 Modding (Mega Thread)

#163908
vrock_wavevrock_wave
Participant

Эй, ребята, я сделал “ремонт двигателя автомобиля” мод для мафии 3 https://mafiamods.com/mods/repair-car-engine/ Для тех, кто имеет проблемы с scripthook:

  • Чтобы сделать scripthook работы: правой кнопкой мыши>свойства>Совместимость “launcher.exe”, “M3ScriptHookLauncher.exe” , “mafia3.exe” и установите режим совместимости с Windows 7 + запустить его от имени администратора (вы можете “изменить параметры для всех пользователей” на всякий случай)

for me only works well xD

game.game:GetActivePlayer():GetOwner():SetMotorDamage(0)


it can come in handy

veh = game.game:GetActivePlayer (): GetOwner (); vachislit auto player

veh: SetDirty (0); dirt level
veh: SetRust (0);
veh: SetActualFuel (100); Fuel level
veh: SetSPZText ( “Vrock”, true); sign change rooms

veh: SetColor (1, 40); cars color change
veh: SetMotorDamage (0); engine damage level
veh: SetCarDamage (1) the level of car body damage
veh: SetDespawnImmunity (true); immunity

veh: Explode (); blow wheelbarrow
game.game:GetActivePlayer():GetOwner():SetSpeed(150) set the speed for the type of nitro cars splash
veh: SetSearchlightOn (true, true); on off the headlamp in Musar
veh: SetBeaconLightOn (true, true); on off flasher at Musar
veh: SetEngineOn (true, true); ON OFF Engine
veh: SetLightState (true, true); lights on off
veh: SetHornOn (true); the horn
game.hud: OpenCustomizeCarMenu (true) On the menu customization cars
hud: RadarShow (false) on off radar
hud: SpeedometerShow (false) on off Speedometer
hud: InfoAreaShow (false) names on off areas
hud: BackMirrorShow (false) on off the rear-view mirror
hud: MoneyShow (false) on off money panel
hud: ObjectiveShow (false) on off hints tags
hud: ActionButtonsShow (false) display on off button
hud: MessageAreaShow (false) on off tips

game.game:GetActivePlayer (): InventoryAddMoney (5454) to add money
game.game:ModifyGameTime(0.25, 2); slow down time
game.game:ModifyGameTime(1.0, 1); normal flow of time
game.game:GetActivePlayer():ActivateRagdoll(false) regdoll for Player
Human = game.game:GetActivePlayer () to assign a variable Player
Human: SetMaxHealth (1000) give the Player count in life or cure
game.game:GetActivePlayer():ShowModel(false) on off models Player display
dayTime = game.gfx: GetTime (); set the variable weather
game.gfx: SetTime (dayTime + 1, 0.0); change the weather for one hour +
game.gfx: SetTimeFlowSpeed ​​(1.0) transience of time of day

game.game:GetActivePlayer():InventorySetUnlimitedAmmo(true) infinite ammo on off
game.game:GetActivePlayer().invulnerability = true god mode on off

1 user thanked author for this post.