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

Conversation

@MartLegion
Copy link
Contributor

MartLegion commented May 31, 2019

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

Related to the Feature Request #994

MartLegion added 7 commits May 14, 2019
-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
Copy link
Member

asherkin left a comment

Thanks, this looks good.

@asherkin asherkin merged commit e47c1a8 into alliedmodders:master Jun 17, 2019
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.