Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Permanent Red/Green player color #324

Merged
merged 20 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequestFactory.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API.Core;
using Jailbreak.Formatting.Views.LastRequest;
using Jailbreak.LastRequest.LastRequests;
Expand Down
6 changes: 5 additions & 1 deletion mod/Jailbreak.LastRequest/LastRequestManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using CounterStrikeSharp.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CounterStrikeSharp.API;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Core.Attributes.Registration;
using CounterStrikeSharp.API.Modules.Cvars;
Expand Down
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequests/BulletForBullet.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Menu;
Expand Down
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequests/Coinflip.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Menu;
using Jailbreak.Formatting.Extensions;
Expand Down
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequests/KnifeFight.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API.Core;
using Jailbreak.Public.Mod.LastRequest.Enums;

Expand Down
1 change: 1 addition & 0 deletions mod/Jailbreak.LastRequest/LastRequests/NoScope.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Timers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Menu;
using CounterStrikeSharp.API.Modules.Timers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using CounterStrikeSharp.API.Core;
using Jailbreak.Formatting.Extensions;
using Jailbreak.Formatting.Views.LastRequest;
Expand Down
1 change: 0 additions & 1 deletion mod/Jailbreak.RTD/Rewards/ColorReward.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public bool CanGrantReward(CCSPlayerController player) {

public bool GrantReward(CCSPlayerController player) {
player.SetColor(color);
Server.RunOnTick(Server.TickCount + 2, () => GrantReward(player));
return true;
}
}
Loading