Skip to content

feat(es_extended) Adds adjustment to lower woman and man player strength#1714

Closed
Kr3mu wants to merge 3 commits intoesx-framework:devfrom
Kr3mu:woman-strength
Closed

feat(es_extended) Adds adjustment to lower woman and man player strength#1714
Kr3mu wants to merge 3 commits intoesx-framework:devfrom
Kr3mu:woman-strength

Conversation

@Kr3mu
Copy link
Copy Markdown
Member

@Kr3mu Kr3mu commented Aug 29, 2025

Description

It sets by listening to PlayerLoaded and onPlayerLogout event and using SetWeaponDamageModifier and SetPlayerStamina a lower strength of the player.


Motivation

This change isn't neccessary but is a good feature for Hard RP servers.

DISCLAIMER:

This script applies different stamina/strength settings based on the player's in-game gender.
It is purely a GAMEPLAY MECHANIC for balancing or roleplay purposes, not a statement about real-life gender.
The values and labels here should not be interpreted outside of the context of the game.
If you use or modify this code, please ensure it is respectful of your community’s preferences.

PR Checklist

  • [-] My commit messages and PR title follow the Conventional Commits standard.
  • [-] My changes have been tested locally and function as expected.
  • [-] My PR does not introduce any breaking changes.
  • [-] I have provided a clear explanation of what my PR does, including the reasoning behind the changes and any relevant context.

@N0tNvll N0tNvll self-requested a review August 30, 2025 18:41

function Adjustments:WeakerWoman()
if Config.WeakerWoman then
AddEventHandler("esx:PlayerLoaded",function (_, skin)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The event is called esx:playerLoaded. This is also a net event.

return -- Early Exit
end

if skin.sex ~= 1 then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add support & cfg for male & female

self:WantedLevel()
self:DisableRadio()
self:Multipliers()
self:WeakerWoman()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't call it that, lol. Just use Adjustments:Multipliers()

-- stamina = float,
-- strength = float
-- }
Config.WeakerWoman = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use Config.Multipliers

@Kr3mu Kr3mu changed the title feat(es_extended) Adds adjustment to lower woman player strength feat(es_extended) Adds adjustment to lower woman and man player strength Aug 30, 2025
@Kenshiin13 Kenshiin13 marked this pull request as draft August 31, 2025 14:26
@N0tNvll
Copy link
Copy Markdown
Contributor

N0tNvll commented Sep 30, 2025

@Kenshiin13 @Kr3mu what is about this? is finished, discarded or in what status is actually?

@Kr3mu
Copy link
Copy Markdown
Member Author

Kr3mu commented Sep 30, 2025

@Kenshiin13 @Kr3mu what is about this? is finished, discarded or in what status is actually?

We agreed that the idea is good to add limitation but for everyone, but the code needs to be checked or remade don't remember

@Kr3mu Kr3mu closed this Nov 1, 2025
@Kr3mu Kr3mu deleted the woman-strength branch November 1, 2025 10:40
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.

3 participants