Continuing the discussion from FiveM license:
Thought I’d put it in the right category so people would be able to find it easier.
Basically all this script does is it logs all your player identifiers to the server console/log, useful if you want to find your id for development purposes or if you want to whitelist someone but they don’t know their license.
whatsmyid.zip (715 Bytes)
If you don’t want to download it, but want to put it inside your own scripts instead use this:
AddEventHandler('playerConnecting', function(playerName, setKickReason) identifiers = GetPlayerIdentifiers(source) for i in ipairs(identifiers) do print('Player: ' .. playerName .. ', Identifier #' .. i .. ': ' .. identifiers[i]) end end)
Hope this helps.
I’ve launched a (temporary) server which you can join (ip:
vespura.com:30122 note the different port! ) which will tell you what your identifiers are once you try to join.
BTW, you won’t actually get into the server because it kicks you before you’re actually allowed in.