Jump to content

help


golanu21

Recommended Posts

local players = getElementsByType("player") 
for _,players in ipairs (players) do  
local roww = guiGridListAddRow ( kick ) 
guiGridListSetItemText (kick, roww, 1,getPlayerName(thePlayer), false, false ) 
guiGridListSetItemColor (kick, roww,1, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) 
guiSetFont(kick,"default-bold-small") 
end 

bad argument guiGridListSetItemText line 4

Link to comment

for _,players in ipairs (getElementsByType("player")) do  
local roww = guiGridListAddRow ( kick ) 
guiGridListSetItemText (kick, roww, 1,getPlayerName(players), false, false ) 
guiGridListSetItemColor (kick, roww,1, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) 
guiSetFont(kick,"default-bold-small") 
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...