You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
patrikjuvonen
changed the title
Add "withCustom" argument for getValidPedModels on Client side
Add "withCustom" argument for getValidPedModels on client side
Jan 2, 2023
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
The text was updated successfully, but these errors were encountered: