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

Pad left "plugin id" with "zeros" based on the plugin count. #1027

Merged
merged 7 commits into from Jun 17, 2019
Merged

Pad left "plugin id" with "zeros" based on the plugin count. #1027

merged 7 commits into from Jun 17, 2019

Conversation

Mart-User
Copy link
Contributor

Pad left "plugin id" with "zeros" based on the plugin count.

Related to the Feature Request #994

-Fixed the beacon color for Survivor/Infected teams on L4D1/L4D2. (since the main teams should be based on the color from team chat, on L4D, "Team 2" and "Team 3" have the opposite color to e.g. Counter-Strike)
-Added orange beacon to the Team 4 (hidden team on L4D2).
-*Unmodified: Spectator beacon maintained in Green color.
-Undefined teams (GetClientTeam < 1 Or GetClientTeam > 4) shows beacon in White color.
-Updated "if else" to "switch case".
-Added game check through g_GameEngine.
-Removed "team" var.
-Added "teamColor" var to set the beacon color based on the client's team, instead of calling TE_SetupBeamRingPoint on each point.
-Moved TE_SetupBeamRingPoint calls more near each other.
-Modified "AdminMenu_Beacon" parameters *ugly* spacing.
-Removed extra spaces.
Pad left "plugin id" with "zeros" based on the plugin count.

Related to the Feature Request #994
@Headline Headline added the Feature Request user requested feature label Jun 1, 2019
Copy link
Member

@asherkin asherkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good.

@asherkin asherkin merged commit e47c1a8 into alliedmodders:master Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request user requested feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants