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

Add "withCustom" argument for getValidPedModels on client side #2551

Closed
FileEX opened this issue Feb 17, 2022 · 1 comment · Fixed by #3796
Closed

Add "withCustom" argument for getValidPedModels on client side #2551

FileEX opened this issue Feb 17, 2022 · 1 comment · Fixed by #3796
Labels
enhancement New feature or request

Comments

@FileEX
Copy link
Contributor

FileEX commented Feb 17, 2022

Is your feature request related to a problem? Please describe.
getValidPedModels on client-side returns also custom ID's from engineRequestModel. If we get valid ped model on client-side and trigger it to server-side where we create ped then we get warning and createPed will returns false because id is custom model.

Describe the solution you'd like
The best solution for this will be add a withCustom argument (default true). This argument should working only on client-side and returns valid ped models including custom models or without custom models.

Describe alternatives you've considered

Additional context

@FileEX FileEX added the enhancement New feature or request label Feb 17, 2022
@patrikjuvonen patrikjuvonen changed the title Add "withCustom" argument for getValidPedModels on Client side Add "withCustom" argument for getValidPedModels on client side Jan 2, 2023
@Fernando-A-Rocha
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants