===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 جرب بدون تشيل الاقواسس! مثل ماسويتة لك لو تحط قوس زآيد , رآحح تخرب الكود لأنه الأند تصير مالها دآعي و هو جربه وقلكـ وش جاهـ بالديبق جربتة وقسسم شغال يـآبن الحلال ما رح يشتغل من عقلكـ انت القوس الزايد ذا من وين رح يجي خخخ + الرجآل جربه مالهآ دآعي اجربه مبينه : / viewtopic.php?f=119&t=53104#p516243 Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 مو ضابط -.- unexpected symbol near ')'+'' expected near 'end ونفس الشي كود اسامه : / unexpected symbol near ')'+'' expected near 'end جربت ذا ؟ بآخر رد لي ؟ 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 guiGetVisible(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
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 مو ضابط -.- unexpected symbol near ')'+'' expected near 'end ونفس الشي كود اسامه : / unexpected symbol near ')'+'' expected near 'end جربت ذا ؟ بآخر رد لي ؟ 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 guiGetVisible(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 ) warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:25: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] ض1 Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 (edited) 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() 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", 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 ) آسفين عالإطالة بس كل شوي احط الكود بدون ما ادقق Edited January 21, 2013 by Guest Link to comment
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 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() 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", 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 ) guiSetVisible(GUIEditor.staticimage[1], true) showCursor(true) end 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 ) آسفين عالإطالة بس كل شوي احط الكود بدون ما ادقق warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] wtf ! Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 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() 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", 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 ) guiSetVisible(GUIEditor.staticimage[1], true) showCursor(true) end 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 ) آسفين عالإطالة بس كل شوي احط الكود بدون ما ادقق warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] wtf ! وش ذا ؟ انت ناسخ الكود الف مرهـ ؟ 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() 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", 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
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 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() 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", 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 ) guiSetVisible(GUIEditor.staticimage[1], true) showCursor(true) end 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 ) آسفين عالإطالة بس كل شوي احط الكود بدون ما ادقق warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] wtf ! وش ذا ؟ انت ناسخ الكود الف مرهـ ؟ 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() 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", 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 ) آسفين عالإطالة بس كل شوي احط الكود بدون ما ادقق warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument lol !" Link to comment
iPrestege Posted January 21, 2013 Share Posted January 21, 2013 (edited) GUIEditor = { staticimage = {}, button = {}, label = {}, } function ns() Wnd = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) guiSetVisible ( Wnd, true ) gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, Wnd) guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, Wnd) guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, Wnd) guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This is a Resource made By JoKeR", false, Wnd) local font_0 = guiCreateFont("font.ttf") guiSetFont(GUIEditor.label[1], font_0) GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For Clan rE", false, Wnd) guiSetFont(GUIEditor.label[2], font_0) end function open() if (guiGetVisible(Wnd) == true) then guiSetVisible(Wnd, false) showCursor(false) else guiSetVisible(Wnd, true) showCursor(true) end 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 ) Edited January 21, 2013 by Guest Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 (edited) warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument lol !" يا حبيبي الكود مافيه شي , بس انت شكلكـ ما جربت الي حطيته بالاقتابس جرب ذا الي بآخر رد لي .. GUIEditor = { staticimage = {}, button = {}, label = {}, } 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) function open() 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", 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 ) Edited January 21, 2013 by Guest Link to comment
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 GUIEditor = { staticimage = {}, button = {}, label = {}, } function ns() Wnd = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) guiSetVisible ( Wnd, true ) gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, Wnd) guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, Wnd) guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, Wnd) guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This is a Resource made By JoKeR", false, Wnd) local font_0 = guiCreateFont("font.ttf") guiSetFont(GUIEditor.label[1], font_0) GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For Clan rE", false, Wnd) guiSetFont(GUIEditor.label[2], font_0) end function open() if (guiGetVisible(Wnd) == true) then guiSetVisible(Wnd, false) showCursor(false) else guiSetVisible(Wnd, true) showCursor(true) end 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 ) warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] zzzzzzzzzz Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 GUIEditor = { staticimage = {}, button = {}, label = {}, } function ns() Wnd = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) guiSetVisible ( Wnd, true ) gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, Wnd) guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, Wnd) guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, Wnd) guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This is a Resource made By JoKeR", false, Wnd) local font_0 = guiCreateFont("font.ttf") guiSetFont(GUIEditor.label[1], font_0) GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For Clan rE", false, Wnd) guiSetFont(GUIEditor.label[2], font_0) end function open() if (guiGetVisible(Wnd) == true) then guiSetVisible(Wnd, false) showCursor(false) else guiSetVisible(Wnd, true) showCursor(true) end 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 ) warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] zzzzzzzzzz warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument lol !" يا حبيبي الكود مافيه شي , بس انت شكلكـ ما جربت الي حطيته بالاقتابس جرب ذا الي بآخر رد لي .. GUIEditor = { staticimage = {}, button = {}, label = {}, } 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) function open() 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", 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
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 GUIEditor = { staticimage = {}, button = {}, label = {}, } function ns() Wnd = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) guiSetVisible ( Wnd, true ) gButtonsj = guiCreateButton(19, 88, 91, 65, "Discocar", false, Wnd) guiSetProperty(gButtonsj, "NormalTextColour", "FFAAAAAA") gButtonsa = guiCreateButton(202, 88, 91, 65, "Discolight", false, Wnd) guiSetProperty(gButtonsa, "NormalTextColour", "FFAAAAAA") gButtonsd = guiCreateButton(390, 88, 91, 65, "reset to none", false, Wnd) guiSetProperty(gButtonsd, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(2, 241, 188, 29, "This is a Resource made By JoKeR", false, Wnd) local font_0 = guiCreateFont("font.ttf") guiSetFont(GUIEditor.label[1], font_0) GUIEditor.label[2] = guiCreateLabel(438, 241, 98, 30, "For Clan rE", false, Wnd) guiSetFont(GUIEditor.label[2], font_0) end function open() if (guiGetVisible(Wnd) == true) then guiSetVisible(Wnd, false) showCursor(false) else guiSetVisible(Wnd, true) showCursor(true) end 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 ) warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] zzzzzzzzzz warning: vip\vip.lua:31: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]warning: vip\vip.lua:35: Bad Argument @'guisetvisivle'[Expected element at argument lol !" يا حبيبي الكود مافيه شي , بس انت شكلكـ ما جربت الي حطيته بالاقتابس جرب ذا الي بآخر رد لي .. GUIEditor = { staticimage = {}, button = {}, label = {}, } 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) function open() 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", 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 ) warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil] warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument ||" Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument ||" تستهبل انت ؟ ما جربت الكود يبو سطر 28 مهو ست فيزبل ولا 24 اقول جرب الكود ثم رد Link to comment
TAPL Posted January 21, 2013 Share Posted January 21, 2013 GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", true) Link to comment
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 warning: vip\vip.lua:24: Bad Argument @'guisetvisivle'[Expected element at argument 1,got nil]warning: vip\vip.lua:28: Bad Argument @'guisetvisivle'[Expected element at argument ||" تستهبل انت ؟ ما جربت الكود يبو سطر 28 مهو ست فيزبل ولا 24 اقول جرب الكود ثم رد ضبط الكود الحين المشكلة النافذة ما تظهر بس يجي الماوس : / GUIEditor = { staticimage = {}, button = {}, label = {}, } 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) function open() 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", 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
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", true) مشكور اشتغل كذا الردود ولا بلاش ( مشكور اسامه + بريستنق على تعبكم ..~ ) Link to comment
iPrestege Posted January 21, 2013 Share Posted January 21, 2013 لوول مانتبهت انك مستخدم 0- 1 بالمقاسات ذذ المفروض اذا حولتها تسوي التفعيل true !! حاولنا والاكواد صحيحة بس المشكلة من عندك ذذ انك ماحولتة لـ true Link to comment
===|OSAMA|=== Posted January 21, 2013 Share Posted January 21, 2013 GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", true) مشكور اشتغل كذا الردود ولا بلاش ( مشكور اسامه + بريستنق على تعبكم ..~ ) العفو , ذا الخطأ منكـ مفروض تعرف تستخدم الجيو ايديتور وماله دخل بالجيو ست فيزبل .. # على كل حآل اسفين عالإطالة / كنت احط الكود بسسع بدون تدقيق Link to comment
~!#abdullah Posted January 21, 2013 Author Share Posted January 21, 2013 GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", false) GUIEditor.staticimage[1] = guiCreateStaticImage(0.31, 0.25, 0.38, 0.35, "img/bg.png", true) مشكور اشتغل كذا الردود ولا بلاش ( مشكور اسامه + بريستنق على تعبكم ..~ ) العفو , ذا الخطأ منكـ مفروض تعرف تستخدم الجيو ايديتور وماله دخل بالجيو ست فيزبل .. # على كل حآل اسفين عالإطالة / كنت احط الكود بسسع بدون تدقيق عادي + الكود مو لي لخويي وهو الي كان يجرب.. بس ما عنده حساب ~.~ Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now