local x, y = guiGetScreenSize()
Wnd = guiCreateWindow(220, 130, 371, 315, "Welcome To Gta Pro Server", false)
guiWindowSetSizable(Wnd, false)
guiSetAlpha(Wnd, 1.00)
guiSetProperty(Wnd, "CaptionColour", "FF0080FF")
guiSetVisible(Wnd, false)
Grid = guiCreateGridList(10, 25, 351, 223, false, Wnd)
Column = guiGridListAddColumn(Grid, " Welcome Please Chose into", 0.9)
aGrid =
{
{ '●●●|| The Beginnig ||●●●', 250, 154, 255 };
{ '●●●|| Al-Taous ||●●●', 250, 154, 255 };
{ '●●●|| Al-Dairi ||●●●', 250, 154, 255 };
{ '●●●|| Drift Street ||●●●', 250, 154, 255 };
{ '●●●|| BattleGround ||●●●', 250, 154, 255 };
}
for _, aV in ipairs( aGrid )do
local gRow = guiGridListAddRow( Grid )
guiGridListSetItemText( Grid,
gRow,
1, tostring( aV[ 1 ] ), false, false
)
guiGridListSetItemColor( Grid,
gRow,
1, aV[ 2 ], aV[ 3 ], aV[ 4 ]
)
end