i want save my gridlist to xml
function savePlayerEq2()
for i = 0, guiGridListGetRowCount ( eq ) do
outputChatBox(i)
local p1 = guiGridListGetItemText ( eq, i, 1 )
outputChatBox(p1)
local p2 = guiGridListGetItemText ( eq, i, 2 ) --typ
local p3 = guiGridListGetItemText ( eq, i, 3 )
local p4 = guiGridListGetItemText ( eq, i, 4 )
local p5 = guiGridListGetItemText ( eq, i, 5 )
local p6 = guiGridListGetItemText ( eq, i, 6 )
local p7 = guiGridListGetItemText ( eq, i, 7 )
if not ( p1 == "" ) then
triggerServerEvent ( "saveS", getLocalPlayer(), p1, p2, p3, p4, p5, p6, p7, getLocalPlayer() )
end
end
end