CSSharpUtils icon indicating copy to clipboard operation
CSSharpUtils copied to clipboard

feat: Added player.PrintToHud and updated to latest css.

Open T3Marius opened this issue 9 months ago • 1 comments

T3Marius avatar Mar 19 '25 15:03 T3Marius

I like the feature but your implementation has a bunch of repeating code which I don't like

  1. CreateForAlive and CreateForDead are basically identical except for the part where you get the observerPawn, this could be one function with a bool parameter.

  2. The code for getting the pawn or the observerPawn is present in pretty much all functions. You could put that in an extra function to further clean up the code

imi-tat0r avatar Apr 15 '25 05:04 imi-tat0r