Added Job Quit to Interaction -> JOB
This commit is contained in:
@@ -168,6 +168,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
busskill = u.BusSkill,
|
||||
pilotskill = u.PilotSkill,
|
||||
wage = u.Wage,
|
||||
isActive = JobBase.GetPlayerInJob().Contains(player),
|
||||
};
|
||||
|
||||
var memberList = dbContext.Users.Where(f => f.FactionId == u.FactionId && u.FactionId != 0).OrderByDescending(f => f.FactionRank.Order).ThenBy(f => f.Name).Select(m => new
|
||||
|
||||
@@ -186,7 +186,7 @@ namespace ReallifeGamemode.Server.Managers
|
||||
{
|
||||
VehicleStreaming.SetEngineState(player.Vehicle, false);
|
||||
}
|
||||
|
||||
player.Position = playerJobStartPosition[player];
|
||||
job.StopJob(player);
|
||||
|
||||
if (playerTimersJobVehicleRespawn.ContainsKey(player))
|
||||
|
||||
Reference in New Issue
Block a user