VehicleDeath2

This commit is contained in:
Mac_Slash
2020-05-05 00:10:27 +02:00
parent 02f7691d95
commit 4e8f9b6281

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using GTANetworkAPI; using GTANetworkAPI;
@@ -295,6 +295,7 @@ namespace ReallifeGamemode.Server.Job
[ServerEvent(Event.VehicleDeath)] [ServerEvent(Event.VehicleDeath)]
private void MuellmannOnVehicle(Vehicle veh) private void MuellmannOnVehicle(Vehicle veh)
{ {
NAPI.Util.ConsoleOutput("VehicleDeath2: Debug 1");
if (veh.Model != (uint)Types.VehicleModel.Trash && veh.Model != (uint)Types.VehicleModel.Trash2) return; if (veh.Model != (uint)Types.VehicleModel.Trash && veh.Model != (uint)Types.VehicleModel.Trash2) return;
foreach (var data in muellmanData) foreach (var data in muellmanData)
{ {