Cant get connecting player data

Hey
while player connecting event handler Im trying to get player data from the official docs GetPlayerIdentifiers - Cfx.re Docs

but everytime only data that is not nil is steam hex and name, does someone have working example piece of code that gets fivem license?

Hi,

You can use this file, this will allow you to get the players’ information.

whatsmyid.zip (715 Bytes)

Try this:

local player = source
local identifiers = GetPlayerIdentifier(player, 0)
deferrals.defer()
1 Like

it worked, ty!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.