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

redm: draw text/sprite blinking #3082

Open
Identity-labs opened this issue Jan 19, 2025 · 2 comments
Open

redm: draw text/sprite blinking #3082

Identity-labs opened this issue Jan 19, 2025 · 2 comments
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Identity-labs
Copy link
Contributor

What happened?

Since last update ~5 days ago all draw text/sprite are blinking on redm

https://medal.tv/fr/games/red-dead-2/clips/jwuwolaLc6eS6P-1M/AcuyyywyhC9T?invite=cr-MSxoYnIsMjM1OTY4OTMwLA

Expected result

Not blinking

Reproduction steps

All draw text/sprite are used with SetDrawOrigin / ClearDrawOrigin

Importancy

Slight inconvenience

Area(s)

RedM

Specific version(s)

all

Additional information

No response

@Identity-labs Identity-labs added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 19, 2025
@github-actions github-actions bot added the RedM Issues/PRs related to RedM label Jan 19, 2025
@AvarianKnight
Copy link
Contributor

Can you show example code?

@Identity-labs
Copy link
Contributor Author

const position = GetEntityCoords(PlayerPedId(), true);
setTick(() => {
    Citizen.invokeNative(0xE10198D5.toString(16), position[0], position[1], position[2], 0); // SetDrawOrigin
    SetTextScale(0.30, 0.30);
    Citizen.invokeNative('0x50A41AD966910F03', 255, 255, 255, 215); // SetTextColour
    const str = Citizen.invokeNative('0xFA925AC00EB830B9', 10, 'LITERAL_STRING', 'Blinking text', Citizen.resultAsLong());
    SetTextCentre(true);
    Citizen.invokeNative('0xD79334A4BB99BAD1', str, 0.0, 0.0); // DisplayText
    Citizen.invokeNative('0xC9884ECADE94CB34', 'generic_textures', 'hud_menu_4a', 0.00000001, 0.0125, 0.11, 0.022, 0.1, 1, 1, 1, 190, 0); // DrawSprite
    Citizen.invokeNative(0xDD76B263.toString(16)); // ClearDrawOrigin
});

On medal video player have an RTX 3060

Me i have GTX 1070 OC and i don't have the issue

I have ask to other server owners, they have same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

2 participants