Skip to content

Commit

Permalink
feat: Add link to known identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamerzs authored Nov 19, 2024
1 parent 8a6a363 commit 50d29ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/native-decls/GetPlayerIdentifierByType.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ char* GET_PLAYER_IDENTIFIER_BY_TYPE(char* playerSrc, char* identifierType);
```
Get an identifier from a player by the type of the identifier.
Known [Identifiers](https://docs.fivem.net/docs/scripting-reference/runtimes/lua/functions/GetPlayerIdentifiers/#identifier-types)
## Parameters
Expand Down Expand Up @@ -52,4 +53,4 @@ EventHandlers["playerJoining"] += new Action<Player>(SetLicense);
private void SetLicense([FromSource]Player player) {
PlayerLicenses.Add(player.Handle, GetPlayerIdentifierByType(player.Handle, "license"));
}
```
```

0 comments on commit 50d29ab

Please sign in to comment.