Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Using LUA commands for empty car

Using LUA commands for empty car

Home / Forums / Modders Corner / Mafia Editing / Mafia II mods / Using LUA commands for empty car

2 replies
13 years, 6 months ago
#6681

Do you know how can I use setspeed and explode commands on my car, while being outside?

13 years, 6 months ago
#14971

Me too,I just know how to use it when I in a car.

13 years, 5 months ago
#15242

OK. I made it work. For anyone interested, use injector v6 with this commands. You will have a remote car-bomb <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x” width=”20″ height=”20″>

 

Vito = 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)”)

  • You must be logged in to reply to this topic.