Files
reallife-gamemode/ReallifeGamemode.Server/Extensions/ListExtensions.cs
Siga edf06f4478 RAGE Multiplayer 1.1.0-DP Update
/freeze was obselete and removed
/unfreeze was obselete and removed
/spectate was obselete and removed
2020-02-24 21:19:23 +01:00

17 lines
348 B
C#

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<Player> list, Player client)
{
return list.Any(l => l.Handle.Value == client.Handle.Value);
}
}
}