BeamMP-Server
BeamMP-Server copied to clipboard
[Feature Request] Send BeamMP ID to the game
As a Lua developer making client-side mods, I would like access to the BeamMP IDs, not just the usernames.
- [ ] Find a way to send BeamMP ID to the game without a launcher change
Client modders can request the players table MPVehicleGE.players
and itterate over it https://beammp.github.io/BeamMP/modules/MPVehicleGE.html#players
for playerid, player in pairs(players) do
local playername = player.name
end
however a player can only be found in that table once the a player, that is being looked for, spawned a vehicle/prop
Is there a reason why the BeamMP ID must be sent to the game "without a launcher change"? AFAIK, the launcher signs the user in to the BeamMP backend, right? So wouldn't it need to be the one reporting the BeamMP ID to the client?