Jump to content

طلب اكواد تغير الطقس


Recommended Posts

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

كيفكم شباب ؟ ان شاء الله بخير .

شباب انا سويت لوحة تغير الطقس

بس احتاج ألاكواد حتى يتغير الطقس

اكواد اللوحة

function guiCreateWindow(x,y,w,h,text,re) 
 local wnd = wnd(x,y,w,h,"wnd.png",re) 
 local lable = guiCreateLabel(0,0,1,0.1,text,re,wnd) 
 guiLabelSetHorizontalAlign(lable,"center") 
 return wnd 
end 
function centerWindow(center_window) 
    local screenW,screenH=guiGetScreenSize() 
    local windowW,windowH=guiGetSize(center_window,false) 
    local x,y = (screenW-windowW)/2,(screenH-windowH)/2 
    guiSetPosition(center_window,x,y,false) 
end 
  
  
GUIEditor = { 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateStaticImage(163, 109, 427, 394, "wnd.png", false) 
  
        GUIEditor.label[1] = guiCreateLabel(1, 1, 422, 19, "Change Weather By ~|Strong|~ ", false, wnd) 
        guiLabelSetColor(GUIEditor.label[1], 40, 87, 83) 
        GUIEditor.button[1] = guiCreateButton(6, 54, 86, 48, "طقس ممطر", false, wnd) 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[2] = guiCreateButton(176, 54, 96, 48, "طقس مشمس", false, wnd) 
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[3] = guiCreateButton(337, 54, 86, 38, "طقس مشمس", false, wnd) 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[4] = guiCreateButton(6, 185, 86, 48, "ألطقس مشرق", false, wnd) 
        guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[5] = guiCreateButton(176, 185, 96, 48, "ألطقس مشرق", false, wnd) 
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[6] = guiCreateButton(337, 185, 86, 48, "ضــبــآب", false, wnd) 
        guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[7] = guiCreateButton(337, 315, 86, 48, "طقـس صآفـي", false, wnd) 
        guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[8] = guiCreateButton(176, 315, 96, 48, "طقس مشمس 2", false, wnd) 
        guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFAAAAAA") 
        GUIEditor.button[9] = guiCreateButton(6, 319, 86, 48, "طقس غآئم", false, wnd) 
        guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFAAAAAA")     
    end 
) 

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