📜  Fivem 获取您的标识符 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:29.933000             🧑  作者: Mango

代码示例1
AddEventHandler('playerConnecting', function(playerName, setKickReason)
    identifiers = GetPlayerIdentifiers(source)
    for i in ipairs(identifiers) do
        print('Player: ' .. playerName .. ', Identifier #' .. i .. ': ' .. identifiers[i])
    end
end)