Jump to content

طلب كم كود


Recommended Posts

Posted

السلام عليكم

ابي اطلب كم كود وادحدر :mrgreen:

الطلب الاول

ابي النافذة تجي من اليسار الى اليمين وتوقف في النص

الطلب الثاني

اذا مر الماوس فوق الزر يطلع كلام مثل الي في الصورة

wSiqu.png

Posted

شوف يالغالي اشوف ان الكود صعب شوي بـ النسبة للاحداثيات وكذا بـ النسبة لك # فـ سويتة كذا بـ النسبة لـ احداثياتي :mrgreen:

فـ اللي عليك يـ الغالي تغيرهـ لـ احداثياتك اذا ماعجبك ! اوك ذذ ؟

جرب :

GUIEditor.window[1] = بدلها بـ نافذتك

Client Side !

isMove = false 
bindKey("F3", "down", 
function() 
if isMove then return end 
if guiGetVisible( GUIEditor.window[1] ) then 
    guiSetVisible(GUIEditor.window[1], false) 
    showCursor(false) 
else 
    guiSetPosition(GUIEditor.window[1], -300, 54, false) 
    guiSetVisible(GUIEditor.window[1], true) 
    showCursor(true) 
    if isTimer(Time) then 
        return 
    end 
    Time = setTimer(function() 
    local x, y = guiGetPosition(GUIEditor.window[1], false) 
    guiSetPosition(GUIEditor.window[1], x + 8, y, false) 
    end, 50, 50) 
    isWindowMove(true) 
    setTimer(isWindowMove, 100, 1, false) 
end 
end 
) 
  
function isWindowMove(bole) 
isMove = bole 
end 
  

  

Posted
مثال
setTimer ( function() 
local x,y = guiGetPosition ( Wnd1, true ) 
guiSetPosition ( Wnd1, x + 5, y, false ) 
end,100,0) 

هاذه مثال بس

بدال wnd1

احط اسم النافذة حقتي صح

Posted

جات النافذة من اليسار بس م تحركت

ذا كود النافذة

GUIEditor_Button = {} 
  
wnd = guiCreateWindow(158,60,579,479,"Music script By !FP^B_o~L|B|/\/",false) 
guiSetAlpha(wnd,1) 
GUIEditor_Button[1] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(230,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[2],"default-bold-small") 
GUIEditor_Button[3] = guiCreateButton(457,75,94,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[3],"default-bold-small") 
GUIEditor_Button[4] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[4],"default-bold-small") 
GUIEditor_Button[5] = guiCreateButton(16,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[5],"default-bold-small") 
GUIEditor_Button[6] = guiCreateButton(230,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[6],"default-bold-small") 
GUIEditor_Button[7] = guiCreateButton(459,171,94,35,"Music",false,wnd) 
GUIEditor_Button[8] = guiCreateButton(16,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[8],"default-bold-small") 
GUIEditor_Button[9] = guiCreateButton(230,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[9],"default-bold-small") 
GUIEditor_Button[10] = guiCreateButton(453,274,103,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[10],"default-bold-small") 
GUIEditor_Button[11] = guiCreateButton(12,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[11],"default-bold-small") 
GUIEditor_Button[12] = guiCreateButton(234,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[12],"default-bold-small") 
GUIEditor_Button[13] = guiCreateButton(451,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[13],"default-bold-small") 
GUIEditor_Button[15] = guiCreateButton(379,22,74,30,"ايقاف",false,wnd) 
guiSetFont(GUIEditor_Button[15],"default-bold-small") 

Posted

GUIEditor_Button = {} 
  
wnd = guiCreateWindow(158,60,579,479,"Music script By !FP^B_o~L|B|/\/",false) 
guiSetVisible(wnd, false) 
guiSetAlpha(wnd,1) 
GUIEditor_Button[1] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(230,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[2],"default-bold-small") 
GUIEditor_Button[3] = guiCreateButton(457,75,94,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[3],"default-bold-small") 
GUIEditor_Button[4] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[4],"default-bold-small") 
GUIEditor_Button[5] = guiCreateButton(16,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[5],"default-bold-small") 
GUIEditor_Button[6] = guiCreateButton(230,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[6],"default-bold-small") 
GUIEditor_Button[7] = guiCreateButton(459,171,94,35,"Music",false,wnd) 
GUIEditor_Button[8] = guiCreateButton(16,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[8],"default-bold-small") 
GUIEditor_Button[9] = guiCreateButton(230,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[9],"default-bold-small") 
GUIEditor_Button[10] = guiCreateButton(453,274,103,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[10],"default-bold-small") 
GUIEditor_Button[11] = guiCreateButton(12,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[11],"default-bold-small") 
GUIEditor_Button[12] = guiCreateButton(234,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[12],"default-bold-small") 
GUIEditor_Button[13] = guiCreateButton(451,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[13],"default-bold-small") 
GUIEditor_Button[15] = guiCreateButton(379,22,74,30,"ايقاف",false,wnd) 
guiSetFont(GUIEditor_Button[15],"default-bold-small") 
  
isMove = false 
  
bindKey("F3", "down", 
function() 
if isMove then return end 
if guiGetVisible( wnd ) then 
    guiSetVisible(wnd, false) 
    showCursor(false) 
else 
    guiSetPosition(wnd, -300, 54, false) 
    guiSetVisible(wnd, true) 
    showCursor(true) 
    if isTimer(Time) then 
        return 
    end 
    Time = setTimer(function() 
    local x, y = guiGetPosition(wnd, false) 
    guiSetPosition(wnd, x + 13, y, false) 
    end, 50, 50) 
    isWindowMove(true) 
    setTimer(isWindowMove, 100, 1, false) 
end 
end 
) 
  
  
function isWindowMove(bole) 
isMove = bole 
end 
  

اضغط اف3 وشوف #

  

Posted
GUIEditor_Button = {} 
  
wnd = guiCreateWindow(158,60,579,479,"Music script By !FP^B_o~L|B|/\/",false) 
guiSetVisible(wnd, false) 
guiSetAlpha(wnd,1) 
GUIEditor_Button[1] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
GUIEditor_Button[2] = guiCreateButton(230,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[2],"default-bold-small") 
GUIEditor_Button[3] = guiCreateButton(457,75,94,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[3],"default-bold-small") 
GUIEditor_Button[4] = guiCreateButton(16,75,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[4],"default-bold-small") 
GUIEditor_Button[5] = guiCreateButton(16,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[5],"default-bold-small") 
GUIEditor_Button[6] = guiCreateButton(230,171,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[6],"default-bold-small") 
GUIEditor_Button[7] = guiCreateButton(459,171,94,35,"Music",false,wnd) 
GUIEditor_Button[8] = guiCreateButton(16,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[8],"default-bold-small") 
GUIEditor_Button[9] = guiCreateButton(230,274,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[9],"default-bold-small") 
GUIEditor_Button[10] = guiCreateButton(453,274,103,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[10],"default-bold-small") 
GUIEditor_Button[11] = guiCreateButton(12,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[11],"default-bold-small") 
GUIEditor_Button[12] = guiCreateButton(234,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[12],"default-bold-small") 
GUIEditor_Button[13] = guiCreateButton(451,388,105,35,"Music",false,wnd) 
guiSetFont(GUIEditor_Button[13],"default-bold-small") 
GUIEditor_Button[15] = guiCreateButton(379,22,74,30,"ايقاف",false,wnd) 
guiSetFont(GUIEditor_Button[15],"default-bold-small") 
  
isMove = false 
  
bindKey("F3", "down", 
function() 
if isMove then return end 
if guiGetVisible( wnd ) then 
    guiSetVisible(wnd, false) 
    showCursor(false) 
else 
    guiSetPosition(wnd, -300, 54, false) 
    guiSetVisible(wnd, true) 
    showCursor(true) 
    if isTimer(Time) then 
        return 
    end 
    Time = setTimer(function() 
    local x, y = guiGetPosition(wnd, false) 
    guiSetPosition(wnd, x + 8, y, false) 
    end, 50, 50) 
    isWindowMove(true) 
    setTimer(isWindowMove, 100, 1, false) 
end 
end 
) 
  
  
function isWindowMove(bole) 
isMove = bole 
end 
  

اضغط اف3 وشوف #

مشكوور ضبط معي

اسف تعبتك معي

Posted

ياليت تنسخة ثانية عدلت النافذهـ توصل للنص أفضل لك #

===================================

العفو حياك الله #

You're Welcome

:wink:

  

Posted
ياليت تنسخة ثانية عدلت النافذهـ توصل للنص أفضل لك #

===================================

العفو حياك الله #

You're Welcome

:wink:

لا جات مضبوطة :mrgreen:

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...