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

Open
RickTran opened this issue Dec 21, 2024 · 0 comments · May be fixed by #3025
Open

SetPlayerModel Serverside Crashed #3023

RickTran opened this issue Dec 21, 2024 · 0 comments · May be fixed by #3025
Labels
bug crash triage Needs a preliminary assessment to determine the urgency and required action

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
@tens0rfl0w tens0rfl0w linked a pull request Dec 21, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant