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
When using GetPedCollectionLocalIndexFromDrawable or GetPedCollectionLocalIndexFromProp which were added in 7dad6da it returns 0 when the componentId/anchorPoint isn't valid and also if the global index is out of bounds.
Expected result
According to the native docs it should return -1 not 0 in the situations mentioned above
What happened?
When using
GetPedCollectionLocalIndexFromDrawable
orGetPedCollectionLocalIndexFromProp
which were added in 7dad6da it returns0
when the componentId/anchorPoint isn't valid and also if the global index is out of bounds.Expected result
According to the native docs it should return -1 not 0 in the situations mentioned above
Reproduction steps
Importancy
Slight inconvenience
Area(s)
FiveM, Natives
Specific version(s)
10072/canary
Additional information
No response
The text was updated successfully, but these errors were encountered: