Skip to content

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

Merged
asherkin merged 7 commits intoalliedmodders:masterfrom
Mart-User:feature1
Jun 17, 2019
Merged

Pad left "plugin id" with "zeros" based on the plugin count.#1027
asherkin merged 7 commits intoalliedmodders:masterfrom
Mart-User:feature1

Conversation

@Mart-User
Copy link
Contributor

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

Related to the Feature Request #994

Mart-User added 7 commits May 14, 2019 17:53
-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.

3 participants