Jump to content

Help: Vehicle summon mode


rayloriga

Recommended Posts

Hello,

 

I currenly have in a lua file this code:

 

vs = Game.GetVehicleSystem()
vs:ToggleSummonMode()

 

"Using this command once makes it so that when you summon a vehicle, it instantly spawns in front of you as opposed to automatically driving to you".

 

I like this mode but I have to "dofile" this file every time I start the game. I would like to create an "init.lua" file so it can be automatically loaded via Cyber Engine once I start the game.

 

Would anyone know how to do it? I have not been able to do it myself.

 

Thanks in advance.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...