Busfahrer: Auch nicht als Beifahrer in Nicht-Bus Fahrzeug einsteigen
This commit is contained in:
@@ -202,9 +202,9 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
{
|
{
|
||||||
JobBase job = GetJob(player.GetUser().JobId ?? -1);
|
JobBase job = GetJob(player.GetUser().JobId ?? -1);
|
||||||
|
|
||||||
if (job != null && job.GetUsersInJob().Contains(player) && seat == 0)
|
if (job != null && job.GetUsersInJob().Contains(player))
|
||||||
{
|
{
|
||||||
if(job.CheckVehicle(player, veh))
|
if(job.CheckVehicle(player, veh) && seat == 0)
|
||||||
{
|
{
|
||||||
if (!playerTimersJobVehicleRespawn.ContainsKey(player))
|
if (!playerTimersJobVehicleRespawn.ContainsKey(player))
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user