Derma spawn icons

[lua]function charactermenu( ply )
local modelz = {}

modelz[1] = "models/player/Group01/Female_01.mdl"
modelz[2] = "models/player/Group01/Female_02.mdl"
modelz[3] = "models/player/Group01/Female_03.mdl"
modelz[4] = "models/player/Group01/Female_04.mdl"
modelz[5] = "models/player/Group01/Female_05.mdl"
modelz[6] = "models/player/Group01/Female_06.mdl"
modelz[7] = "models/player/Group01/Female_07.mdl"
modelz[8] = "models/player/group01/male_01.mdl"
modelz[9] = "models/player/group01/male_02.mdl"
modelz[10] = "models/player/group01/male_03.mdl"
modelz[11] = "models/player/group01/male_04.mdl"
modelz[12] = "models/player/group01/male_05.mdl"
modelz[13] = "models/player/group01/male_06.mdl"
modelz[14] = "models/player/group01/male_07.mdl"
modelz[15] = "models/player/group01/male_08.mdl"
modelz[15] = "models/player/group01/male_09.mdl" -- models that will makeup the picker

local IconList = vgui.Create( "DPanelList", frame ) 


local t = ply:Team()

local DermaPanel = vgui.Create( "DFrame" ) -- Creates the frame itself
--DermaPanel:SetPos( 50, 50 ) -- Position on the players screen
DermaPanel:SetSize( 500, 500 ) -- Size of the frame
DermaPanel:SetTitle( "Create your character" ) -- Title of the frame
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( false ) -- Draggable by mouse?
DermaPanel:ShowCloseButton( true ) -- Show the close button?
DermaPanel:MakePopup() -- Show the frame
DermaPanel:Center()

local PropertySheet = vgui.Create( "DPropertySheet" )
PropertySheet:SetParent( DermaPanel )
PropertySheet:SetPos( 5, 30 )
PropertySheet:SetSize( 450, 445 )

local SheetItemOne = vgui.Create( "DTextEntry" )
SheetItemOne:SetPos( 20, 25 )
SheetItemOne:SetTall( 10 )
SheetItemOne:SetWide( 20 )
SheetItemOne:SetEnterAllowed( true )
SheetItemOne.OnEnter = function()
	
end

local SheetItemTwo = vgui.Create( "DPanelList", DermaPanel )
SheetItemTwo:EnableVerticalScrollbar( true ) 
SheetItemTwo:EnableHorizontal( true ) 
SheetItemTwo:SetPadding( 2 ) 
SheetItemTwo:SetPos(10, 30)
SheetItemTwo:SetSize(100, 165)

for k,v in pairs(modelz) do
local icon = vgui.Create( "SpawnIcon", IconList ) 
icon:SetModel( v )
IconList:AddItem( icon )
icon.DoClick = function( icon ) 

surface.PlaySound( "ui/buttonclickrelease.wav" ) 

ply:SetModel( "" .. v .. "" )

end 

end [/lua]

I’m trying to make a dproperty sheet that in one tab has a bunch of models unfortunately I’m very new at this so when I tried the method above I just this. The button works but theres only one when theres suppost to be 15, its cut in half and its not really where its suppost to be :saddowns: Can a noble Lua guru come to my aid?

try to change IconList to SheetItemTwo

I guess thats what I get for copypasting? thanks I’ll go try it out, here have a heart.
edit:
thanks that was about it