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

Title: Using LUA commands for empty car
Post 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?
Title: Using LUA commands for empty car
Post by: zzzzzz2 on August 13, 2012, 02:51:27 AM
Me too,I just know how to use it when I in a car.
Title: Using LUA commands for empty car
Post by: jaca37 on August 22, 2012, 07:44:53 PM
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)")