fix afk wt mitzählen
This commit is contained in:
@@ -196,7 +196,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
fVeh.AddAttachment("weapondeal1", false);
|
||||
fVeh.AddAttachment("weapondeal2", false);
|
||||
InventoryManager.RemoveAllItemsfromVehicleInventory(fVeh);
|
||||
int oMembers = NAPI.Pools.GetAllPlayers().Where(p => p.IsLoggedIn() && p.GetUser(context).FactionId == user.FactionId).Count();
|
||||
int oMembers = NAPI.Pools.GetAllPlayers().Where(p => !p.IsAfk() && p.IsLoggedIn() && p.GetUser(context).FactionId == user.FactionId).Count();
|
||||
|
||||
if (factionVehicle.GetOwners().Contains(8) || factionVehicle.GetOwners().Contains(7))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user