RAGE Multiplayer 1.1.0-DP Update
/freeze was obselete and removed /unfreeze was obselete and removed /spectate was obselete and removed
This commit is contained in:
@@ -28,7 +28,7 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
timer.Elapsed += Timer_Elapsed;
|
||||
}
|
||||
|
||||
public static void ResetWantedTimeToElapse(Client client)
|
||||
public static void ResetWantedTimeToElapse(Player client)
|
||||
{
|
||||
User user = client.GetUser();
|
||||
if (user.FactionId == 1 || user.FactionId == 3)
|
||||
@@ -50,6 +50,8 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
bool isNearCop = false;
|
||||
foreach (var playerCop in NAPI.Pools.GetAllPlayers())
|
||||
{
|
||||
if (!playerCop.IsLoggedIn()) continue;
|
||||
|
||||
User cop = playerCop.GetUser();
|
||||
if (cop != null && (cop.FactionId == 1 || cop.FactionId == 3))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user