Solved How to get vehicle ID through vlua ?

Discussion in 'Mod Support' started by jojos38, Jul 8, 2017.

  1. jojos38

    jojos38
    Expand Collapse

    Joined:
    Oct 22, 2013
    Messages:
    1,071
    I just would like to know how to get the vehicle ID trough the vlua
    --- Post updated ---
    I found obj:queueGameEngineLua("be:getPlayerVehicle(0):queueLuaCommand('drivingSounds.switchActual = (\"'..be:getPlayerVehicleID(0)..'\")')")
     
    #1 jojos38, Jul 8, 2017
    Last edited: Jul 8, 2017
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice