Jump to content

حل مشكلة بالقريد ليست


Recommended Posts

السلام عليكم ورحمه آلله وبركاته

كيفكم شبآب ؟

آنا سويت لوحة وفيهآ قريد ليست وزرين آلاول تشغيل والثآني آيقاف

المشكلة مآ تظهر سورة الفآتحة بالقريد ليست

اكوآد اللوحة

  
GUIEditor = { 
    gridlist = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
        Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
        guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") 
        Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
        guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") 
 guiSetVisible ( wnd ,false )        
    end 
) 
  
  
 ---------------- 
  
  
  
bindKey("F6", "down", 
function  () 
      guiSetVisible(wnd, not guiGetVisible (wnd)) 
      showCursor(guiGetVisible(wnd)) 
end 
) 
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
for _,v in ipairs ( list ) do 
      local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
   guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) 
   guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) 
   guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 
  
  

الدي بوق يقول مآ في مشكلة , بس مآ آعرف ليه مآ تظهر سورة الفآتحةة :evil:

Link to comment
  
GUIEditor = { 
    gridlist = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.2) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "", 0.7) 
        Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
        guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") 
        Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
        guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") 
 guiSetVisible ( wnd ,false )       
    end 
) 
  
  
 ---------------- 
  
  
  
bindKey("F6", "down", 
function  () 
      guiSetVisible(wnd, not guiGetVisible (wnd)) 
      showCursor(guiGetVisible(wnd)) 
end 
) 
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
for _,v in ipairs ( list ) do 
      local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
   guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) 
   guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) 
   guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 
  
  

جرب ~

Link to comment

نسيت تسوي كولمن 8)

جربته شغال عندي .. !

  
  
GUIEditor = { 
    gridlist = {}, 
} 
  
wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
guiGridListAddColumn(GUIEditor.gridlist[1], "لسته", 0.9) 
Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
guiSetVisible ( wnd ,false )       
  
---------------- 
  
bindKey("F6", "down", 
    function  () 
        guiSetVisible(wnd, not guiGetVisible (wnd)) 
        showCursor(guiGetVisible(wnd)) 
    end 
) 
  
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
for i,v in ipairs ( list ) do 
    Row = guiGridListAddRow(GUIEditor.gridlist[1]) 
   guiGridListSetItemText ( GUIEditor.gridlist[1], Row, 1, tostring ( v [ 1 ] ), false, false) 
   guiGridListSetItemData ( GUIEditor.gridlist[1], Row, 1, tostring ( v [ 2 ] )) 
   guiGridListSetItemColor(GUIEditor.gridlist[1],Row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 
Edited by Guest
Link to comment
  
GUIEditor = { 
    gridlist = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.2) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "", 0.7) 
        Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
        guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") 
        Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
        guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") 
 guiSetVisible ( wnd ,false )       
    end 
) 
  
  
 ---------------- 
  
  
  
bindKey("F6", "down", 
function  () 
      guiSetVisible(wnd, not guiGetVisible (wnd)) 
      showCursor(guiGetVisible(wnd)) 
end 
) 
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
for _,v in ipairs ( list ) do 
      local row = guiGridListAddRow(GUIEditor.gridlist[1]) 
   guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) 
   guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) 
   guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 
  
  

جرب ~

ضهر القريد ليست , بس السورة لا

Link to comment
نسيت تسوي كولمن 8)

  
  
GUIEditor = { 
    gridlist = {}, 
} 
  
wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
guiGridListAddColumn(GUIEditor.gridlist[1], "لسته", 0.9) 
Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
guiSetVisible ( wnd ,false )       
  
---------------- 
  
bindKey("F6", "down", 
    function  () 
        guiSetVisible(wnd, not guiGetVisible (wnd)) 
        showCursor(guiGetVisible(wnd)) 
    end 
) 
  
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
for i,v in ipairs ( list ) do 
    Row = guiGridListAddRow(GUIEditor.gridlist[1]) 
   guiGridListSetItemText ( GUIEditor.gridlist[1], Row, 1, tostring ( v [ 1 ] ), false, false) 
   guiGridListSetItemData ( GUIEditor.gridlist[1], Row, 1, tostring ( v [ 2 ] )) 
   guiGridListSetItemColor(GUIEditor.gridlist[1],Row,1,math.random(0,255),math.random(0,255),math.random(0,255)) 
end 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 

آههآ الحين ضهرت السورة بس لمآ اضغط على تشغيل مآ تشتغل :|

Link to comment
  
GUIEditor = { 
    gridlist = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(181, 150, 381, 325, "=[ تجربةة , ]= ", false) 
        guiWindowSetSizable(wnd, false) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(9, 18, 362, 244, false, wnd) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.2) 
        guiGridListAddColumn(GUIEditor.gridlist[1], "", 0.7) 
        Start = guiCreateButton(54, 276, 62, 39, "Start", false, wnd) 
        guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") 
        Stop = guiCreateButton(225, 276, 62, 39, "Stop", false, wnd) 
        guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") 
 guiSetVisible ( wnd ,false )       
    end 
) 
  
  
 ---------------- 
  
  
  
bindKey("F6", "down", 
function  () 
      guiSetVisible(wnd, not guiGetVisible (wnd)) 
      showCursor(guiGetVisible(wnd)) 
end 
) 
--------------------------------- 
list = { 
    {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, 
} 
  
  for i,v in ipairs(list) do 
 row = guiGridListAddRow( GUIEditor.gridlist[1]) 
 guiGridListSetItemText( GUIEditor.gridlist[1],row,1,''..i..'-',false,false) 
 guiGridListSetItemText( GUIEditor.gridlist[1],row,2,"-"..v,false,false) 
 guiGridListSetItemData( GUIEditor.gridlist[1],row,1,v[2]) 
 guiGridListSetItemColor( GUIEditor.gridlist[1],row,2,math.random(0,255),math.random(0,255),math.random(0,155)) 
  guiGridListSetItemColor( GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,155)) 
end 
  
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Start ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
   end 
   if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then 
   local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
   sound = playSound ( tostring ( Link ), true ) 
  end 
 end 
end 
) 
  
addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) 
   if ( source == Stop ) then 
   if ( isElement ( sound ) ) then 
   destroyElement ( sound ) 
        end 
    end 
end 
) 
  
  

Link to comment
يعطيكم العآفيةة ي عيآل مآ قصرتوو , :D

العفو , يسلمو

في الخدمةة

:oops:

في الخدمه .. صيام مقبول وافطائر شهي

6:59 ساعه عندي شوي وياذن عندنا

آمين ويآك .. يب آنا زيك , :]

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...