SpawnVehicleProper() public static méthode

public static SpawnVehicleProper ( Model m, Vector3 pos ) : GTA.Vehicle
m Model
pos Vector3
Résultat GTA.Vehicle
        private void GtfoCommand()
        {
            var p = Game.Player.Character;
            var v = GTAFuncs.SpawnVehicleProper(new Model(VehicleHash.Lazer), p.Position + new Vector3(0, 0, 500));

            v.EngineRunning = true;
            v.Heading       = p.Heading;
            v.Velocity      = Vector3.Multiply(v.ForwardVector, 100);
            v.Speed         = 200;
            p.SetIntoVehicle(v, VehicleSeat.Driver);
        }
 private void VehicleCommand(string hash)
 {
     GTAFuncs.SpawnVehicleProper(new Model(hash), GTAFuncs.GetCoordsFromCam(15));
 }