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

[Improvement]: Display player godmode above vehicle godmode in esp #3117

Closed
pierrelasse opened this issue May 14, 2024 · 6 comments · Fixed by #3123
Closed

[Improvement]: Display player godmode above vehicle godmode in esp #3117

pierrelasse opened this issue May 14, 2024 · 6 comments · Fixed by #3123
Labels
improvement A feature in YimMenu requires improvement.

Comments

@pierrelasse
Copy link
Contributor

Which feature

Settings -> ESP

Reason

To know if the player is in godmode to. Vehicle godmode can be set by other modders, but the player driving doesn't have to be modding. This would let you know if the player is also in godmode thus modding.

Additional context

GOD
Vehicle God Mode

is not very similar. idk how to make it better tho

@pierrelasse pierrelasse added the improvement A feature in YimMenu requires improvement. label May 14, 2024
@lonelybud
Copy link
Contributor

lonelybud commented May 14, 2024

if (g.esp.god)
{
if (ped_damage_bits & (uint32_t)eEntityProofs::GOD)
{
mode_str = "ESP_GOD"_T.data();
}
else
{
if (ped_damage_bits & (uint32_t)eEntityProofs::BULLET)
{
mode_str += "ESP_BULLET"_T.data();
}
if (ped_damage_bits & (uint32_t)eEntityProofs::EXPLOSION)
{
mode_str += "ESP_EXPLOSION"_T.data();
}
}
}

ImGui::Checkbox("SETTINGS_ESP_PLAYER_GOD_MODE"_T.data(), &g.esp.god);

check is present right

@pierrelasse
Copy link
Contributor Author

Weird. Is godmode spoofed as disabled when your vehicle is in godmode by default in gta?

@rkwapisz
Copy link
Contributor

Here's a hint:

{
mode_str =+ "VEHICLE_GOD"_T.data();
}

@pierrelasse
Copy link
Contributor Author

=+ instead of +=? dis a tresure hunt or what xd

@rkwapisz
Copy link
Contributor

There you go! Now submit a PR for that sucker.

@pierrelasse
Copy link
Contributor Author

pierrelasse commented May 15, 2024

yay. ill do that later when I'm on pc. Thanks for the help.

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

Successfully merging a pull request may close this issue.

3 participants