~!#abdullah Posted January 21, 2013 Posted January 21, 2013 (edited) 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 January 21, 2013 by Guest
iPrestege Posted January 21, 2013 Posted January 21, 2013 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 )
~!#abdullah Posted January 21, 2013 Author Posted January 21, 2013 جربت ..~ يطلع الخطأ ذا warning: vip\vip.lua:40: Bad Argument @'addevnthandler'[Expected element at argument 2,got nil]
===|OSAMA|=== Posted January 21, 2013 Posted January 21, 2013 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 )
~!#abdullah Posted January 21, 2013 Author Posted January 21, 2013 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 ''
iPrestege Posted January 21, 2013 Posted January 21, 2013 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 )
===|OSAMA|=== Posted January 21, 2013 Posted January 21, 2013 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 '' سوري بس انا ما دققت بالكود , انت قلت بالسطر 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
~!#abdullah Posted January 21, 2013 Author Posted January 21, 2013 ERROR: vip\vip.lua:18:attempt to index global'guieditor' (a nil value) شكله كود منحوس ..~
===|OSAMA|=== Posted January 21, 2013 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 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 )
~!#abdullah Posted January 21, 2013 Author 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 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] كود ملحوس والله
===|OSAMA|=== Posted January 21, 2013 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 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 ) -_-"
~!#abdullah Posted January 21, 2013 Author 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 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]
iPrestege Posted January 21, 2013 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() 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 )
~!#abdullah Posted January 21, 2013 Author 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() 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' ||"
===|OSAMA|=== Posted January 21, 2013 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() 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 January 21, 2013 by Guest
===|OSAMA|=== Posted January 21, 2013 Posted January 21, 2013 ^ ماتفرق الكود بيكون شغال على اي حال ( : لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. # unexpected symbol near ')'+'' expected near 'end'
iPrestege Posted January 21, 2013 Posted January 21, 2013 (edited) ^ ماتفرق الكود بيكون شغال على اي حال ( : لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. # unexpected symbol near ')'+'' expected near 'end' جربة! عشان الـ not ضفت القوس + تحت عشان ShowCursor Edited January 21, 2013 by Guest
~!#abdullah Posted January 21, 2013 Author Posted January 21, 2013 (edited) ^ ماتفرق الكود بيكون شغال على اي حال ( : لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. # unexpected symbol near ')'+'' expected near 'end' شلت الاقواس vip\vip.lua:26:')' expected (to close '(' at line 25) near 'end' كود الكود ملعون -.- Edited January 21, 2013 by Guest
===|OSAMA|=== Posted January 21, 2013 Posted January 21, 2013 ^ ماتفرق الكود بيكون شغال على اي حال ( : لا مَ رح يشتغل لو في اقوآس زآيدة , شف رد عبدالله الأخير .. # 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 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 )
===|OSAMA|=== Posted January 21, 2013 Posted January 21, 2013 جرب بدون تشيل الاقواسس! مثل ماسويتة لك لو تحط قوس زآيد , رآحح تخرب الكود لأنه الأند تصير مالها دآعي و هو جربه وقلكـ وش جاهـ بالديبق viewtopic.php?f=119&t=53104#p516243
iPrestege Posted January 21, 2013 Posted January 21, 2013 جرب بدون تشيل الاقواسس! مثل ماسويتة لك لو تحط قوس زآيد , رآحح تخرب الكود لأنه الأند تصير مالها دآعي و هو جربه وقلكـ وش جاهـ بالديبق جربتة وقسسم شغال
~!#abdullah Posted January 21, 2013 Author Posted January 21, 2013 مو ضابط -.- unexpected symbol near ')'+'' expected near 'end ونفس الشي كود اسامه : / unexpected symbol near ')'+'' expected near 'end
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