golanu21 Posted March 22, 2013 Share Posted March 22, 2013 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
iPrestege Posted March 22, 2013 Share Posted March 22, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now