Skip to content

Comments

Empowerment & A little bit Optimization#5

Open
fmu1337 wants to merge 1 commit intoalliedmodders:masterfrom
fmu1337:master
Open

Empowerment & A little bit Optimization#5
fmu1337 wants to merge 1 commit intoalliedmodders:masterfrom
fmu1337:master

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