Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FONT: CaviarDreams.ttf
- URL: http://www.dafont.com/es/caviar-dreams.font
- CODE:
- --[[-------------------------------------------------
- Notes:
- > This code is using a custom font. This will only work as long as the location it is from always exists, and the resource it is part of is running.
- To ensure it does not break, it is highly encouraged to move custom fonts into your local resource and reference them there.
- --]]-------------------------------------------------
- GUIEditor = {
- gridlist = {},
- window = {},
- label = {}
- }
- addEventHandler("onClientResourceStart", resourceRoot,
- function()
- GUIEditor.window[1] = guiCreateWindow(468, 293, 421, 246, "Car Storage", false)
- guiWindowSetSizable(GUIEditor.window[1], false)
- guiSetAlpha(GUIEditor.window[1], 1.00)
- GUIEditor.gridlist[1] = guiCreateGridList(12, 78, 164, 154, false, GUIEditor.window[1])
- guiGridListAddColumn(GUIEditor.gridlist[1], "Items", 0.9)
- GUIEditor.gridlist[2] = guiCreateGridList(244, 79, 164, 154, false, GUIEditor.window[1])
- guiGridListAddColumn(GUIEditor.gridlist[2], "Car Items", 0.9)
- GUIEditor.label[1] = guiCreateLabel(92, 32, 237, 28, "Use you car storage to save stuff such as \nweapons ammo, drugs, money.", false, GUIEditor.window[1])
- guiSetFont(GUIEditor.label[1], "default-bold-small")
- guiLabelSetColor(GUIEditor.label[1], 225, 225, 225)
- guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
- GUIEditor.label[2] = guiCreateLabel(192, 112, 36, 30, ">", false, GUIEditor.window[1])
- local font0_CaviarDreams = guiCreateFont(":guieditor/fonts/CaviarDreams.ttf", 22)
- guiSetFont(GUIEditor.label[2], font0_CaviarDreams)
- guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false)
- guiLabelSetVerticalAlign(GUIEditor.label[2], "bottom")
- GUIEditor.label[3] = guiCreateLabel(191, 172, 36, 30, "<", false, GUIEditor.window[1])
- guiSetFont(GUIEditor.label[3], font0_CaviarDreams)
- guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false)
- guiLabelSetVerticalAlign(GUIEditor.label[3], "bottom")
- GUIEditor.label[4] = guiCreateLabel(191, 92, 38, 20, "Add", false, GUIEditor.window[1])
- local font1_CaviarDreams = guiCreateFont(":guieditor/fonts/CaviarDreams.ttf", 10)
- guiSetFont(GUIEditor.label[4], font1_CaviarDreams)
- guiLabelSetColor(GUIEditor.label[4], 198, 30, 30)
- guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false)
- GUIEditor.label[5] = guiCreateLabel(187, 154, 44, 18, "Remove", false, GUIEditor.window[1])
- guiSetFont(GUIEditor.label[5], font1_CaviarDreams)
- guiLabelSetColor(GUIEditor.label[5], 28, 121, 199)
- guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false)
- GUIEditor.label[6] = guiCreateLabel(12, 54, 399, 15, "–––––––––––––––––––––––––––––––––––––––––––––––––––––––––", false, GUIEditor.window[1])
- guiLabelSetColor(GUIEditor.label[6], 136, 226, 19)
- GUIEditor.label[7] = guiCreateLabel(12, 21, 399, 15, "–––––––––––––––––––––––––––––––––––––––––––––––––––––––––", false, GUIEditor.window[1])
- guiLabelSetColor(GUIEditor.label[7], 136, 226, 19)
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement