add option to call taxi service in interaction menu (key down)

This commit is contained in:
hydrant
2019-05-20 22:38:19 +02:00
parent 9dda9b195d
commit 6edf9ebd0b
7 changed files with 67 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
using GTANetworkAPI;
using ReallifeGamemode.Server.Entities;
using ReallifeGamemode.Server.Extensions;
using ReallifeGamemode.Server.Job;
using ReallifeGamemode.Server.Util;
using System.Collections.Generic;
@@ -88,5 +89,10 @@ namespace ReallifeGamemode.Server.Services
}
});
}
public static void BroadcastJob(string message, JobBase job)
{
job.GetUsersInJob().ForEach(c => c.SendChatMessage(message));
}
}
}