Skip to content

Commit

Permalink
feat(docs/natives/GetPlayerIdentifier): fix parameter name, add link …
Browse files Browse the repository at this point in the history
…to range getter, add return info
  • Loading branch information
TheGamerzs committed Nov 19, 2024
1 parent 8a6a363 commit fcbcee0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ext/native-decls/GetPlayerIdentifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ apiset: server
## GET_PLAYER_IDENTIFIER

```c
char* GET_PLAYER_IDENTIFIER(char* playerSrc, int identifier);
char* GET_PLAYER_IDENTIFIER(char* playerSrc, int indentiferIndex);
```
To get the number of identifiers, use [GET_NUM_PLAYER_IDENTIFIERS](?_0xFF7F66AB)
To get a specific type of identifier, use [GET_PLAYER_IDENTIFIER_BY_TYPE](?_0xA61C8FC6)
## Parameters
* **playerSrc**:
* **identifier**:
* **indentiferIndex**:
## Return value
Returns the identifier at the specific index, if out of bounds returns `null`

0 comments on commit fcbcee0

Please sign in to comment.