[SOLVED] FxDK Player Identifiers

I found a simple workaround for this without changing the resource code.

  • You can override the server function GetPlayerIdentifiers() to return your identifier.

First you need to get your identifier, just run the server without FxDK using the .bat/.cmd file
And make sure you print your identifier somewhere in your code.

playerprint

Then you need to create a new file called fxDK.lua, add this function and replace you Identifier

Now just add fxDK.lua to your resource manifest

playerfix2

Every time you run the game in FxDK you should now have an identifier.

Make sure you read this about fxDK PlayerIdentifiers:
https://docs.fivem.net/docs/fxdk/resources/#no-player-identifiers

You can download fxDK.lua here:
fxDK.lua (161 Bytes)

Hope it helps! :+1:

2 Likes