Jump to content

احتاج تصحيح حق الكود


hunter96

Recommended Posts

GUIEditor = { 
    window = {}, 
    staticimage = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(601, 156, 197, 358, "PLAYER SHOP ver1.0", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF17FF00") 
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(56, 22, 97, 82, ":playershop/1.png", false, GUIEditor.window[1]) 
        GUIEditor.staticimage[2] = guiCreateStaticImage(55, 123, 100, 90, ":playershop/2.png", false, GUIEditor.window[1]) 
        GUIEditor.staticimage[3] = guiCreateStaticImage(53, 231, 107, 89, ":playershop/3.png", false, GUIEditor.window[1]) 
        1 = guiCreateButton(67, 102, 74, 27, "$500", false, GUIEditor.window[1]) 
        guiSetFont(1, "sa-header") 
        2 = guiCreateButton(67, 208, 74, 27, "$500", false, GUIEditor.window[1]) 
        guiSetFont(2, "sa-header") 
        3 = guiCreateButton(67, 317, 74, 27, "$700", false, GUIEditor.window[1]) 
        guiSetFont(3, "sa-header")     
    end 
) 
  
guiSetVisible(GUIEditor.window[1],false) 
  
bindKey ( "M" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  
  
  
addEventHandler ("onClientGUIClick", root, 
function() 
if ( source ==  1 ) then 
triggerServerEvent("1",getLocalPlayer()) 
elseif (source == 2) then 
triggerServerEvent("2",getLocalPlayer()) 
elseif (source == 3) then 
triggerServerEvent("3",getLocalPlayer()) 
end 
end 
) 
outputChatBox("~~~~لفتح شـوب الاعب إضغط (M)",255,255,0,true) 
outputChatBox("شوب الاعب من صنع هنتر",255,255,0,true) 
outputChatBox("playershop by hunter",255,255,0,true) 
  

Edited by Guest
Link to comment

جرب

GUIEditor = { 
    window = {}, 
    staticimage = {} 
} 
GUIEditor.window[1] = guiCreateWindow(601, 156, 197, 358, "PLAYER SHOP ver1.0", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF17FF00") 
  
GUIEditor.staticimage[1] = guiCreateStaticImage(56, 22, 97, 82, ":playershop/1.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[2] = guiCreateStaticImage(55, 123, 100, 90, ":playershop/2.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[3] = guiCreateStaticImage(53, 231, 107, 89, ":playershop/3.png", false, GUIEditor.window[1]) 
1 = guiCreateButton(67, 102, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(1, "sa-header") 
2 = guiCreateButton(67, 208, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(2, "sa-header") 
3 = guiCreateButton(67, 317, 74, 27, "$700", false, GUIEditor.window[1]) 
guiSetFont(3, "sa-header")     
  
guiSetVisible(GUIEditor.window[1],false) 
  
bindKey ( "M" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  
  
  
addEventHandler ("onClientGUIClick", root, 
function() 
if ( source ==  1 ) then 
triggerServerEvent("1",getLocalPlayer()) 
elseif (source == 2) then 
triggerServerEvent("2",getLocalPlayer()) 
elseif (source == 3) then 
triggerServerEvent("3",getLocalPlayer()) 
end 
end 
) 
outputChatBox("~~~~لفتح شـوب الاعب إضغط (M)",255,255,0,true) 
outputChatBox("شوب الاعب من صنع هنتر",255,255,0,true) 
outputChatBox("playershop by hunter",255,255,0,true) 
  
Link to comment
جرب

GUIEditor = { 
    window = {}, 
    staticimage = {} 
} 
GUIEditor.window[1] = guiCreateWindow(601, 156, 197, 358, "PLAYER SHOP ver1.0", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF17FF00") 
  
GUIEditor.staticimage[1] = guiCreateStaticImage(56, 22, 97, 82, ":playershop/1.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[2] = guiCreateStaticImage(55, 123, 100, 90, ":playershop/2.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[3] = guiCreateStaticImage(53, 231, 107, 89, ":playershop/3.png", false, GUIEditor.window[1]) 
1 = guiCreateButton(67, 102, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(1, "sa-header") 
2 = guiCreateButton(67, 208, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(2, "sa-header") 
3 = guiCreateButton(67, 317, 74, 27, "$700", false, GUIEditor.window[1]) 
guiSetFont(3, "sa-header")     
  
guiSetVisible(GUIEditor.window[1],false) 
  
bindKey ( "M" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  
  
  
addEventHandler ("onClientGUIClick", root, 
function() 
if ( source ==  1 ) then 
triggerServerEvent("1",getLocalPlayer()) 
elseif (source == 2) then 
triggerServerEvent("2",getLocalPlayer()) 
elseif (source == 3) then 
triggerServerEvent("3",getLocalPlayer()) 
end 
end 
) 
outputChatBox("~~~~لفتح شـوب الاعب إضغط (M)",255,255,0,true) 
outputChatBox("شوب الاعب من صنع هنتر",255,255,0,true) 
outputChatBox("playershop by hunter",255,255,0,true) 
  

نفس الشي

ما تفتح اللوحة :|

Link to comment

GUIEditor = { 
    window = {}, 
    staticimage = {} 
} 
GUIEditor.window[1] = guiCreateWindow(601, 156, 197, 358, "PLAYER SHOP ver1.0", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF17FF00") 
  
GUIEditor.staticimage[1] = guiCreateStaticImage(56, 22, 97, 82, ":playershop/1.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[2] = guiCreateStaticImage(55, 123, 100, 90, ":playershop/2.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[3] = guiCreateStaticImage(53, 231, 107, 89, ":playershop/3.png", false, GUIEditor.window[1]) 
button1 = guiCreateButton(67, 102, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(1, "sa-header") 
button2 = guiCreateButton(67, 208, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(2, "sa-header") 
button3 = guiCreateButton(67, 317, 74, 27, "$700", false, GUIEditor.window[1]) 
guiSetFont(3, "sa-header")     
  
guiSetVisible(GUIEditor.window[1],false) 
  
bindKey ( "M" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  
  
  
addEventHandler ("onClientGUIClick", root, 
function() 
if ( source ==  button1 ) then 
triggerServerEvent("1",getLocalPlayer()) 
elseif (source == button2) then 
triggerServerEvent("2",getLocalPlayer()) 
elseif (source == button3) then 
triggerServerEvent("3",getLocalPlayer()) 
end 
end 
) 
outputChatBox("~~~~لفتح شـوب الاعب إضغط (M)",255,255,0,true) 
outputChatBox("شوب الاعب من صنع هنتر",255,255,0,true) 
outputChatBox("playershop by hunter",255,255,0,true) 
  
Link to comment
GUIEditor = { 
    window = {}, 
    staticimage = {} 
} 
GUIEditor.window[1] = guiCreateWindow(601, 156, 197, 358, "PLAYER SHOP ver1.0", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF17FF00") 
  
GUIEditor.staticimage[1] = guiCreateStaticImage(56, 22, 97, 82, ":playershop/1.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[2] = guiCreateStaticImage(55, 123, 100, 90, ":playershop/2.png", false, GUIEditor.window[1]) 
GUIEditor.staticimage[3] = guiCreateStaticImage(53, 231, 107, 89, ":playershop/3.png", false, GUIEditor.window[1]) 
button1 = guiCreateButton(67, 102, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(1, "sa-header") 
button2 = guiCreateButton(67, 208, 74, 27, "$500", false, GUIEditor.window[1]) 
guiSetFont(2, "sa-header") 
button3 = guiCreateButton(67, 317, 74, 27, "$700", false, GUIEditor.window[1]) 
guiSetFont(3, "sa-header")     
  
guiSetVisible(GUIEditor.window[1],false) 
  
bindKey ( "M" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  
  
  
addEventHandler ("onClientGUIClick", root, 
function() 
if ( source ==  button1 ) then 
triggerServerEvent("1",getLocalPlayer()) 
elseif (source == button2) then 
triggerServerEvent("2",getLocalPlayer()) 
elseif (source == button3) then 
triggerServerEvent("3",getLocalPlayer()) 
end 
end 
) 
outputChatBox("~~~~لفتح شـوب الاعب إضغط (M)",255,255,0,true) 
outputChatBox("شوب الاعب من صنع هنتر",255,255,0,true) 
outputChatBox("playershop by hunter",255,255,0,true) 
  

تــــــــــسلم ايدك ذا كيلر

بس ياليت تقول لي ويش الخطأ في الكود عشان ما اغلط نفس الغلط مرة ثانية

Link to comment

تــــــــــسلم ايدك ذا كيلر

بس ياليت تقول لي ويش الخطأ في الكود عشان ما اغلط نفس الغلط مرة ثانية

ماتقدر تسوي تعريف لأزرار او شيء معين بالأرقام

تقدر بحرف ورقم بس رقم لحاله مايجي :mrgreen:

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