http://i.imgur.com/tQJgs7e.jpg
- I must include in their respective team, members who belong
-I tried to do it this way
- Some one can help me? Thanks
.....
for i,player in ipairs(getElementsByType("player")) do
i = i+1
namex = getPlayerName(player)
dxDrawText(namex, 8.71*x, 286*scalaY+i*0.2, 1087*scalaX, 317*scalaY, tocolor(255, 255, 255, 255), 1.10*scalaX, "default-bold", "left", "top", false, false, true, true, false)
if (i > 5 ) then --it's the 2th team
dxDrawText(namex, 8.71*x, 427*scalaY+i*0.2, 1087*scalaX, 317*scalaY, tocolor(255, 255, 255, 255), 1.10*scalaX, "default-bold", "left", "top", false, false, true, true, false)
end
end