Sign in to follow this  
EW1611

Adicionar player na gridlist

Recommended Posts

Criei uma gridlist no lado client, quero que ela mostre todos os players com uma data especifica, porém, ou ele não atualiza quando o player entra, ou adiciona dnv todos os players onlines,

local players = getElementsByType("player")
for k,v in ipairs(players) do
	local row = guiGridListAddRow(grid1) --grid1 is your  grid...
	guiGridListSetItemText(grid1, row, 1,getPlayerName(v), false, false)
end

 

Share this post


Link to post

Já tentei adicionar os players quando abrir o painel, mas ele adiciona de novo todos os players onlines

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.