fix servercrash taxifahrer
This commit is contained in:
@@ -274,7 +274,9 @@ namespace ReallifeGamemode.Server.Managers
|
||||
{
|
||||
if (player.GetUser().JobId == 1)//Taxifahrer
|
||||
{
|
||||
//VehicleManager.DeleteVehicle(v);
|
||||
player.TriggerEvent("CLIENT:stopFare");
|
||||
player.Position = new Vector3(-628.598388671875, -2107.609130859375, 6.072586536407471);
|
||||
player.Heading = (-171.50303649902344f);
|
||||
}
|
||||
if (player.GetUser().JobId == 2)//Müllmann
|
||||
{
|
||||
@@ -327,11 +329,12 @@ namespace ReallifeGamemode.Server.Managers
|
||||
}
|
||||
|
||||
job.StopJob(player);
|
||||
/*if (player.GetUser().JobId == 1)//Taxifahrer
|
||||
if (player.GetUser().JobId == 1)//Taxifahrer
|
||||
{
|
||||
player.Position = new Vector3(-628.598388671875, -2107.609130859375, 6.072586536407471);
|
||||
player.Heading = (-171.50303649902344f);
|
||||
}*/
|
||||
|
||||
}
|
||||
if (player.GetUser().JobId == 2)//Müllmann
|
||||
{
|
||||
player.Position = new Vector3(485.4114685058594, -2173.25, 5.918273448944092);
|
||||
|
||||
Reference in New Issue
Block a user