Jump to content

Ajuda com DashBoard (nomes dos players)


Recommended Posts

  • Other Languages Moderators

Você pode começar com isso:

for i, player in ipairs(getElementsByType("player")) do
    local name = getPlayerName(player)
    local id = getElementData(player, "ID") or "N/A"
    
    dxDrawText(name.." ("..id..")", screenW * 0.574, (screenH * 0.2639) + (i * 20), screenW * 0.687, (screenH * 0.7167) + (i * 20), tocolor(255, 255, 255, 255), 1.30, "default", "center")
end

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...