Jump to content

Where do wrong ?


Recommended Posts

Where do wrong ? :cry:

newFont = guiCreateFont("customfont.ttf", 10) 
guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) 
  local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) 
  local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) 
  guiSetFont(l_1_7, newFont) 
  guiSetEnabled(l_1_7, false) 
  return l_1_6 
end 
local l_0_0, l_0_1 = guiGetScreenSize() 
local l_0_2 = 238 
local l_0_3 = 403 
local l_0_4 = l_0_0 / 2 - l_0_2 / 2 
local l_0_5 = l_0_1 / 2 - l_0_3 / 2 
GUIEditor = { 
    button = {}, 
    label = {}, 
    window = {}, 
} 
GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) 
guiSetVisible (GUIEditor.window[1], false) 
guiWindowSetSizable(GUIEditor.window[1],false) 
guiWindowSetMovable(GUIEditor.window[1],true) 
GUIEditor.button[1] = guiCreateButton(30, 49, 122, 51, "Sound 1", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0925D4") 
GUIEditor.button[2] = guiCreateButton(28, 150, 122, 51, "Sound 2", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0925D4") 
GUIEditor.button[3] = guiCreateButton(205, 49, 122, 51, "Stop | إيقآف", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFDC1D1D") 
GUIEditor.button[4] = guiCreateButton(204, 148, 122, 51, "Close Wnd", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0CB440") 
GUIEditor.button[5] = guiCreateButton(373, 48, 122, 51, "Sound 3", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0925D4") 
GUIEditor.button[6] = guiCreateButton(376, 148, 122, 51, "Sound 4", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF0925D4") 
GUIEditor.label[1] = guiCreateLabel(211, 12, 230, 55, "لوحــةة الأنآشيد V.1", false, GUIEditor.staticimage[1]) 
GUIEditor.label[2] = guiCreateLabel(6, 316, 116, 20, "www.Gta-Arabs.com", false, GUIEditor.staticimage[1]) 
guiLabelSetColor(GUIEditor.label[2], 247, 0, 0) 
GUIEditor.label[3] = guiCreateLabel(226, 315, 73, 17, "Salah Al Yami", false, GUIEditor.staticimage[1]) 
GUIEditor.label[4] = guiCreateLabel(408, 314, 110, 22, "By : Mr.Ray[b]ak", false, GUIEditor.staticimage[1]) 
guiLabelSetColor(GUIEditor.label[4], 247, 0, 0) 
  
------------------------------------------------------------ 
function open() 
if (guiGetVisible(GUIEditor.window[1]) == false) then 
guiSetVisible(GUIEditor.window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor.window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 
  
  

Link to comment

لآ والله .. :cry:

أبو شنب عدل ع المود حقي حق الصبح ( الخلفيةة ) فمآ عجبتني أمكنةة الأزرآر ..

فغيرتهآ

الكود الأصلي لـ أبو شنب ! :

newFont = guiCreateFont("customfont.ttf", 10) 
guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) 
  local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) 
  local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) 
  guiSetFont(l_1_7, newFont) 
  guiSetEnabled(l_1_7, false) 
  return l_1_6 
end 
local l_0_0, l_0_1 = guiGetScreenSize() 
local l_0_2 = 238 
local l_0_3 = 403 
local l_0_4 = l_0_0 / 2 - l_0_2 / 2 
local l_0_5 = l_0_1 / 2 - l_0_3 / 2 
GUIEditor = { 
    button = {}, 
    label = {}, 
    window = {}, 
} 
GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) 
guiSetVisible (GUIEditor.window[1], false) 
guiWindowSetSizable(GUIEditor.window[1],false) 
guiWindowSetMovable(GUIEditor.window[1],true) 
GUIEditor.button[1] = guiCreateButton(12, 28, 137, 42, "Sound 1", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") 
GUIEditor.button[2] = guiCreateButton(385, 28, 137, 42, "Sound 2", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") 
GUIEditor.button[3] = guiCreateButton(12, 113, 137, 42, "Sound 3", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") 
GUIEditor.button[4] = guiCreateButton(385, 113, 137, 42, "Sound 4", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") 
GUIEditor.button[5] = guiCreateButton(202, 75, 137, 42, "Stop | إيقآف", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2B27D7") 
GUIEditor.button[6] = guiCreateButton(200, 179, 137, 42, "Close Wnd", false, GUIEditor.window[1]) 
guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF24D942") 
GUIEditor.label[1] = guiCreateLabel(10, 322, 143, 15, "== | Panel Sounds ! | ==", false, GUIEditor.window[1]) 
GUIEditor.label[2] = guiCreateLabel(427, 322, 91, 15, "By : Mr.Ray[b]ak", false, GUIEditor.window[1]) 
GUIEditor.label[3] = guiCreateLabel(231, 322, 91, 15, "Saleh Al Yami", false, GUIEditor.window[1]) 
------------------- 
function open() 
if (guiGetVisible(GUIEditor.window[1]) == false) then 
guiSetVisible(GUIEditor.window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor.window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 
  
  

الكود يلي عدلتهه

! :

newFont = guiCreateFont("customfont.ttf", 10) 
guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) 
  local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) 
  local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) 
  guiSetFont(l_1_7, newFont) 
  guiSetEnabled(l_1_7, false) 
  return l_1_6 
end 
local l_0_0, l_0_1 = guiGetScreenSize() 
local l_0_2 = 238 
local l_0_3 = 403 
local l_0_4 = l_0_0 / 2 - l_0_2 / 2 
local l_0_5 = l_0_1 / 2 - l_0_3 / 2 
GUIEditor = { 
    button = {}, 
    label = {}, 
    window = {}, 
} 
GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) 
guiSetVisible (GUIEditor.window[1], false) 
guiWindowSetSizable(GUIEditor.window[1],false) 
guiWindowSetMovable(GUIEditor.window[1],true) 
GUIEditor.button[1] = guiCreateButton(30, 49, 122, 51, "Sound 1", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0925D4") 
GUIEditor.button[2] = guiCreateButton(28, 150, 122, 51, "Sound 2", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0925D4") 
GUIEditor.button[3] = guiCreateButton(205, 49, 122, 51, "Stop | إيقآف", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFDC1D1D") 
GUIEditor.button[4] = guiCreateButton(204, 148, 122, 51, "Close Wnd", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0CB440") 
GUIEditor.button[5] = guiCreateButton(373, 48, 122, 51, "Sound 3", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0925D4") 
GUIEditor.button[6] = guiCreateButton(376, 148, 122, 51, "Sound 4", false, GUIEditor.staticimage[1]) 
guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF0925D4") 
GUIEditor.label[1] = guiCreateLabel(211, 12, 230, 55, "لوحــةة الأنآشيد V.1", false, GUIEditor.staticimage[1]) 
GUIEditor.label[2] = guiCreateLabel(6, 316, 116, 20, "www.Gta-Arabs.com", false, GUIEditor.staticimage[1]) 
guiLabelSetColor(GUIEditor.label[2], 247, 0, 0) 
GUIEditor.label[3] = guiCreateLabel(226, 315, 73, 17, "Salah Al Yami", false, GUIEditor.staticimage[1]) 
GUIEditor.label[4] = guiCreateLabel(408, 314, 110, 22, "By : Mr.Ray[b]ak", false, GUIEditor.staticimage[1]) 
guiLabelSetColor(GUIEditor.label[4], 247, 0, 0) 
  
------------------------------------------------------------ 
function open() 
if (guiGetVisible(GUIEditor.window[1]) == false) then 
guiSetVisible(GUIEditor.window[1], true) 
showCursor(true) 
else 
guiSetVisible(GUIEditor.window[1], false) 
showCursor(false) 
end 
end 
bindKey("F2","down",open) 
  
  

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...