add job menu and start job
This commit is contained in:
16
ReallifeGamemode.Server/Extensions/ListExtensions.cs
Normal file
16
ReallifeGamemode.Server/Extensions/ListExtensions.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using GTANetworkAPI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ReallifeGamemode.Server.Extensions
|
||||
{
|
||||
static class ListExtensions
|
||||
{
|
||||
public static bool Contains(this List<Client> list, Client client)
|
||||
{
|
||||
return list.Any(l => l.Handle.Value == client.Handle.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user