farmer raus
This commit is contained in:
@@ -679,43 +679,6 @@ namespace ReallifeGamemode.Server.Events
|
||||
}
|
||||
}
|
||||
|
||||
if (player.Position.DistanceTo(FarmerJob.POSITION_SCHEUNE) <= 1.5)
|
||||
{
|
||||
if (JobManager.GetJob<FarmerJob>().GetUsersInJob().Contains(player))
|
||||
{
|
||||
player.TriggerEvent("SERVER:selectField");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (player.Position.DistanceTo(FarmerJob.POSITION_FAHRZEUGHALLE) <= 1.5)
|
||||
{
|
||||
if (FarmerJob.playersWaitingForVehicle.Contains(player) || true)
|
||||
{
|
||||
FarmerJob.spawnVehicle(player);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (CharacterCreator.surgeryPoint.DistanceTo(player.Position) <= 1.5)
|
||||
{
|
||||
if (user.GetData<bool>("duty"))
|
||||
{
|
||||
player.SendNotification("~r~Im Dienst kannst du nicht operiert werden", false);
|
||||
return;
|
||||
}
|
||||
if (JobBase.GetPlayerInJob().Contains(player))
|
||||
{
|
||||
player.SendNotification("~r~Im aktiven Job kannst du nicht operiert werden", false);
|
||||
return;
|
||||
}
|
||||
if (user.Wanteds > 0)
|
||||
{
|
||||
player.SendNotification("~r~Wenn du gesucht wirst kannst du nicht operiert werden", false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//if (CharacterCreator.surgeryPoint.DistanceTo(player.Position) <= 1.5)
|
||||
//{
|
||||
// if (user.GetData<bool>("duty"))
|
||||
|
||||
Reference in New Issue
Block a user