Jump to content

مساعدة


Recommended Posts

    function ns() 
        GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
guiSetVisible ( GUIEditor.staticimage[1], true ) 
  
        gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
        gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
        gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
        GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
        local font_0 = guiCreateFont("font.ttf") 
        guiSetFont(GUIEditor.label[1], font_0) 
        GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
        guiSetFont(GUIEditor.label[2], font_0)     
    end 
  
  
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) 
 then   showCursor ( false ) 
    else 
guiSetVisible ( GUIEditor.staticimage[1], true) 
showCursor ( true ) 
  bindKey ("F7", "down", openw) 
end 
  
  
  
player = getLocalPlayer() 
addEventHandler('onClientGUIClick',gButtonsj, 
addEventHandler('onClientGUIClick',gButtonsa, 
addEventHandler('onClientGUIClick',gButtonsd, 
function (arbica) 
            if source == gButtonsj then 
                triggerServerEvent("Discocar", player) 
    elseif source == gButtonsa then 
                triggerServerEvent("Discolight", player) 
    elseif source == gButtonsd then 
                triggerServerEvent("reset", player) 
            end 
        end 
    end) 

المشكلة ')' expected (to close '(' at line 34) near 'end'

Edited by Guest
Link to comment

Try This /

function ns() 
        GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
guiSetVisible ( GUIEditor.staticimage[1], true ) 
  
        gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
        gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
        gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
        guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
        GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
        local font_0 = guiCreateFont("font.ttf") 
        guiSetFont(GUIEditor.label[1], font_0) 
        GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
        guiSetFont(GUIEditor.label[2], font_0)     
    end 
  
  
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) 
 then   showCursor ( false ) 
    else 
guiSetVisible ( GUIEditor.staticimage[1], true) 
showCursor ( true ) 
  bindKey ("F7", "down", openw) 
end 
  
  
 function trigger() 
            if source == gButtonsj then 
                triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
                triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
                triggerServerEvent("reset", getLocalPlayer()) 
            end 
        end 
    end 
 addEventHandler('onClientGUIClick',trigger ) 

Link to comment
 function trigger() 
            if source == gButtonsj then 
                triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
                triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
                triggerServerEvent("reset", getLocalPlayer()) 
            end 
        end 
    end 
 addEventHandler('onClientGUIClick',trigger ) 

root في عندكـ خطأ بالحدث منت حآط

زايدة end و في عندكـ !

يصير كذآ

function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

Link to comment
 function trigger() 
            if source == gButtonsj then 
                triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
                triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
                triggerServerEvent("reset", getLocalPlayer()) 
            end 
        end 
    end 
 addEventHandler('onClientGUIClick',trigger ) 

root في عندكـ خطأ بالحدث منت حآط

زايدة end و في عندكـ !

يصير كذآ

function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

'end' expected (to close 'function' at line 17) near ''

xD

Link to comment
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
   end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

Link to comment
 function trigger() 
            if source == gButtonsj then 
                triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
                triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
                triggerServerEvent("reset", getLocalPlayer()) 
            end 
        end 
    end 
 addEventHandler('onClientGUIClick',trigger ) 

root في عندكـ خطأ بالحدث منت حآط

زايدة end و في عندكـ !

يصير كذآ

function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

'end' expected (to close 'function' at line 17) near ''

xD

سوري بس انا ما دققت بالكود , انت قلت بالسطر 34

على كل حآل مافي مشكلة

يصير كذآ

function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
    end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

Edit : @Mr.Prestige, Sorry, but i don't see your reply :mrgreen:

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
    end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiSetVisible ( GUIEditor.staticimage[1], false) then 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
    end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

warning: vip\vip.lua:27: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]

warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]

كود ملحوس والله :mrgreen:

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiGetVisible ( GUIEditor.staticimage[1] ) == true then 
        guiSetVisible ( GUIEditor.staticimage[1], false) 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
    end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

-_-"

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function openw() 
    if guiGetVisible ( GUIEditor.staticimage[1] ) == true then 
        guiSetVisible ( GUIEditor.staticimage[1], false) 
        showCursor ( false ) 
    else 
        guiSetVisible ( GUIEditor.staticimage[1], true) 
        showCursor ( true ) 
    end 
end 
bindKey ("F7", "down", openw) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

-_-"

warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]

:?

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function open() 
    guiSetVisible(GUIEditor.staticimage[1],not GUIEditor.staticimage[1])) 
    showCursor(guiGetVisible(GUIEditor.staticimage[1])) 
end 
bindKey("F7","down",open) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function open() 
    guiSetVisible(GUIEditor.staticimage[1],not GUIEditor.staticimage[1])) 
    showCursor(guiGetVisible(GUIEditor.staticimage[1])) 
end 
bindKey("F7","down",open) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

unexpected symbol near ')'+'' expected near 'end'

|-_-|"

Link to comment
GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function open() 
    guiSetVisible(GUIEditor.staticimage[1],not GUIEditor.staticimage[1])) 
    showCursor(guiGetVisible(GUIEditor.staticimage[1])) 
end 
bindKey("F7","down",open) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

في عندكـ قوس زايد بالكود هنآ

يصير كذآ

function open() 
    guiSetVisible(GUIEditor.staticimage[1],not GUIEditor.staticimage[1]) -- كان عندكـ قوس زايد 
    showCursor(guiGetVisible(GUIEditor.staticimage[1])) 
end 
bindKey("F7","down",open) 

Edited by Guest
Link to comment
^ ماتفرق الكود بيكون شغال على اي حال ( :

لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. #

unexpected symbol near ')'+'' expected near 'end'

جربة! عشان الـ not ضفت القوس

+ تحت عشان ShowCursor

Edited by Guest
Link to comment
^ ماتفرق الكود بيكون شغال على اي حال ( :

لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. #

unexpected symbol near ')'+'' expected near 'end'

شلت الاقواس

vip\vip.lua:26:')' expected (to close '(' at line 25) near 'end'

كود :redhotevil:

الكود ملعون -.-

Edited by Guest
Link to comment
^ ماتفرق الكود بيكون شغال على اي حال ( :

لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. #

unexpected symbol near ')'+'' expected near 'end'

جربة!

:shock: الرجآل جرب و مَ ضبط : /

على كل حآل الكود يصير كذآ

GUIEditor = { 
    staticimage = {}, 
    button = {}, 
    label = {}, 
} 
  
function ns() 
    GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) 
    guiSetVisible ( GUIEditor.staticimage[1], true ) 
    gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") 
    gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") 
    gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, GUIEditor.staticimage[1]) 
    guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") 
    GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This  is   a   Resource   made  By JoKeR", false, GUIEditor.staticimage[1]) 
    local font_0 = guiCreateFont("font.ttf") 
    guiSetFont(GUIEditor.label[1], font_0) 
    GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For    Clan    rE", false, GUIEditor.staticimage[1]) 
    guiSetFont(GUIEditor.label[2], font_0)     
end 
  
function open() 
    guiSetVisible(GUIEditor.staticimage[1],not GUIEditor.staticimage[1]) 
    showCursor(guiGetVisible(GUIEditor.staticimage[1])) 
end 
bindKey("F7","down",open) 
  
function trigger() 
    if source == gButtonsj then 
        triggerServerEvent("Discocar", getLocalPlayer()) 
    elseif source == gButtonsa then 
        triggerServerEvent("Discolight", getLocalPlayer()) 
    elseif source == gButtonsd then 
        triggerServerEvent("reset", getLocalPlayer()) 
    end 
end 
addEventHandler ( 'onClientGUIClick', root, trigger ) 

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