OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llSetVehicleType C# (CSharp) Method

llSetVehicleType() public method

public llSetVehicleType ( int type ) : void
type int
return void
        public void llSetVehicleType(int type)
        {
            m_host.AddScriptLPS(1);

            if (!m_host.ParentGroup.IsDeleted)
            {
                m_host.ParentGroup.RootPart.SetVehicleType(type);
            }
        }
LSL_Api