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

SetPlayerModel Serverside Crashed #3023

Closed
RickTran opened this issue Dec 21, 2024 · 0 comments · Fixed by #3025
Closed

SetPlayerModel Serverside Crashed #3023

RickTran opened this issue Dec 21, 2024 · 0 comments · Fixed by #3025

Comments

@RickTran
Copy link

What happened?

server crash when using native SetPlayerModel

Expected result

no crash

Reproduction steps

set model(value: string | number) {
        let hash = value;
        if (typeof value === "string") {
            console.log(`gethashkey`, value);
            hash = GetHashKey(value);
        }
        console.log(`SetPlayerModel`, String(this.id), value, hash);
        SetPlayerModel(String(this.id), hash);
    }

Importancy

Crash

Area(s)

FiveM, FXServer

Specific version(s)

Last version FiveM, server version 12092

Additional information

image

@RickTran RickTran added bug triage Needs a preliminary assessment to determine the urgency and required action labels Dec 21, 2024
@github-actions github-actions bot added the crash label Dec 21, 2024
@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant