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

Empowerment & A little bit Optimization #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmu1337
Copy link

@fmu1337 fmu1337 commented May 25, 2017

Optimizations:

  • Using OnClientSayCommand instead of say & say_team hooks.
  • A little bit reduced memory usage.
  • Using FormatEx instead of Format, where using Format it is not necessary.
    Empowerment's:
    -Replaced Health overflow spawn protection on godmode method.
    That's
    better, because if some plugins change HP in interval between
    start of
    spawn protection and end of spawn protection, in result - HP reverts
    back.
  • Added ConVar "cssdm_addictional_menu_cmds".
    When player
    presses F1 / F2 buttons - he do not need to type "guns" into chat.

Optimizations:
- Using OnClientSayCommand instead of say & say_team
hooks.
- A little bit reduced memory usage.
- Using FormatEx instead
of Format, where using Format it is not necessary.
Empowerment's:
-
Repaced Health overflow spawn protection on godmode method.
That's
better, becouse if some plugins change HP in interval between
start of
spawn protection and end of spawn protection, in result - HP reverts
back.
- Added ConVar "cssdm_addictional_menu_cmds".
When player
presses F1 / F2 buttons - he do not need to type "guns" into chat.
@fmu1337
Copy link
Author

fmu1337 commented May 28, 2017

@Drifter321, no answer to my pull request?

@Drifter321
Copy link
Member

Everything looks good to me however, there currently exists a problem with the building of CSSDM using a very old version of SM for the plugins that needs to be fixed before it can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants