Mafia Scene - Mafia I & II Game Fan Site
Modders Corner => Mafia Editing => Mafia II mods => Topic started by: jaca37 on August 11, 2012, 09:17:49 PM
Do you know how can I use setspeed and explode commands on my car, while being outside?
Me too,I just know how to use it when I in a car.
OK. I made it work. For anyone interested, use injector v6 with this commands. You will have a remote car-bomb <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">
QuoteVito = game.game:GetActivePlayer()
Vitocar = Vito:GetOwner()
bindKey ("T", "Vitocar:Explode()")
bindKey ("U", "Vitocar:SetSpeed(20)")
bindKey ("J", "Vitocar:SetSpeed(0)")
bindKey ("H", "Vitocar:SetAddSteer(50)")
bindKey ("K", "Vitocar:SetAddSteer(-50)")
bindKey ("N", "Vitocar:SetAddSteer(0)")