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
intGET_PED_PROP_COLLECTION_LOCAL_INDEX(Ped ped, int anchorPoint);
10
+
```
11
+
12
+
An analogue to [GET_PED_PROP_INDEX](#_0x898CC20EA75BACD8) that returns collection local prop index (inside [GET_PED_PROP_COLLECTION_NAME](#_0x6B5653E4) collection) instead of the global prop index.
13
+
14
+
## Parameters
15
+
* **ped**: The target ped
16
+
* **anchorPoint**: One of the anchor points from [SET_PED_PROP_INDEX](#_0x93376B65A266EB5F)
17
+
18
+
## Return value
19
+
Local drawable index of the drawable that is currently used in the given ped and component, or -1 if the ped does not have a prop at the specified anchor point
char* GET_PED_PROP_COLLECTION_NAME(Ped ped, int anchorPoint);
10
+
```
11
+
12
+
An analogue to [GET_PED_PROP_INDEX](#_0x898CC20EA75BACD8) that returns collection name instead of the global drawable index.
13
+
14
+
Should be used together with [GET_PED_PROP_COLLECTION_LOCAL_INDEX](#_0xCD420AD1).
15
+
16
+
## Parameters
17
+
* **ped**: The target ped
18
+
* **anchorPoint**: One of the anchor points from [SET_PED_PROP_INDEX](#_0x93376B65A266EB5F)
19
+
20
+
## Return value
21
+
Collection name to which the current prop used in the given ped and anchor point belongs to. Returns null if Ped is not found, does not have a prop at the specified anchor point, or if the index is out of bounds.
0 commit comments