Mr.Co00oL Posted May 3, 2013 Posted May 3, 2013 hi this is the skin panel v.3 but idk why is not woork plz any help where is the problem : GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Image = {} outputChatBox("= #f9Ff60***Skin_Panel by #FFaa66 Mr.Co00oL #006699 Press F7 To Open it*** =",0,255,0,true) GUIEditor_Window[1] = guiCreateWindow(120,39,503,519,"~~~~Skins panel by Mr.Co00oL~~~~",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(26,114,462,387,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Specials skins",GUIEditor_TabPanel[1]) gg = guiCreateButton(157,158,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(gg,"sa-header") guiSetProperty(gg,"NormalTextColour", "FFFFFF00") GUIEditor_Label[1] = guiCreateLabel(170,129,109,33,"The Joker",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[1],"sa-header") th1 = guiCreateButton(309,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th1,"sa-header") GUIEditor_Label[2] = guiCreateLabel(311,298,150,33,"Arbic skin",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[2],"sa-header") guiSetProperty(th1,"NormalTextColour", "FFFFFF00") th2 = guiCreateButton(13,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th2,"sa-header") GUIEditor_Label[3] = guiCreateLabel(23,299,150,33,"C RonaLDo",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[3],"sa-header") guiSetProperty(th2,"NormalTextColour", "FFFFFF00") GUIEditor_Tab[2] = guiCreateTab("HaLLOWEEN skins",GUIEditor_TabPanel[1]) s1 = guiCreateButton(guiCreateButton(161,158,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s1,"sa-header") guiSetProperty(s1,"NormalTextColour", "FFFFFF00") GUIEditor_Label[5] = guiCreateLabel(329,295,127,30,"Scarecrow",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[5],255,0,0) guiSetFont(GUIEditor_Label[5],"sa-header") s2 = guiCreateButton(9,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s2,"sa-header") guiSetProperty(s2,"NormalTextColour", "FF00FF00") guiCreateLabel(36,293,127,30,"Scream",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[4],255,0,0) guiSetFont(GUIEditor_Label[4],"sa-header") s = guiCreateButton(313,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s,"sa-header") GUIEditor_Label[7] = guiCreateLabel(165,126,127,30,"SqueLLte",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[7],255,0,0) guiSetFont(GUIEditor_Label[7],"sa-header") guiSetProperty(s,"NormalTextColour", "FF00FF00") GUIEditor_Tab[3] = guiCreateTab("funny Skins",GUIEditor_TabPanel[1]) l = guiCreateButton(157,158,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(l,"sa-header") GUIEditor_Label[8] = guiCreateLabel(170,124,123,32,"Mr.Bean",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[8],255,255,0) guiSetFont(GUIEditor_Label[8],"sa-header") guiSetProperty(l,"NormalTextColour", "FF00FF00") i = guiCreateButton(11,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(i,"sa-header") GUIEditor_Label[9] = guiCreateLabel(24,291,123,32,"GoFFey",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[9],255,255,0) guiSetFont(GUIEditor_Label[9],"sa-header") guiSetProperty(i,"NormalTextColour", "FF00FF00") sp = GUIEditor_Button[11] = guiCreateButton(305,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(sp,"sa-header") GUIEditor_Label[10] = guiCreateLabel(332,291,123,32,"q1",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[10],255,255,0) guiSetFont(GUIEditor_Label[10],"sa-header") guiSetProperty(sp,"NormalTextColour", "FF00FF00") GUIEditor_Tab[4] = guiCreateTab("Gangs Skins",GUIEditor_TabPanel[1]) cj = GUIEditor_Button[12] = guiCreateButton(146,148,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(cj,"sa-header") GUIEditor_Label[11] = guiCreateLabel(164,118,132,27,"BaLLas ",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[11],255,0,255) guiSetFont(GUIEditor_Label[11],"sa-header") guiSetProperty(cj,"NormalTextColour", "FF00FF00") r = guiCreateButton(5,323,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(r,"sa-header") GUIEditor_Label[12] = guiCreateLabel(4,290,148,35,"Grouver streat",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[12],255,255,0) guiSetFont(GUIEditor_Label[12],"sa-header") guiSetProperty(r,"NormalTextColour", "FF00FF00") h = guiCreateButton(302,318,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(h,"sa-header") GUIEditor_Label[13] = guiCreateLabel(336,286,78,33,"Vagos",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[13],255,255,0) guiSetFont(GUIEditor_Label[13],"sa-header") guiSetProperty(h,"NormalTextColour", "FF00FF00") GUIEditor_Tab[5] = guiCreateTab("Homeless",GUIEditor_TabPanel[1]) y = guiCreateButton(89,216,259,67,"Geat it",false,GUIEditor_Tab[5]) guiSetFont(y,"sa-gothic") guiSetProperty(y,"NormalTextColour", "FF00FF00") GUIEditor_Label[14] = guiCreateLabel(88,163,267,59,"special Homeless",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[14],255,0,255) guiSetFont(GUIEditor_Label[14],"sa-gothic") GUIEditor_Label[15] = guiCreateLabel(20,303,162,48,"skins panel By ",false,GUIEditor_Tab[5]) guiSetFont(GUIEditor_Label[15],"sa-header") GUIEditor_Checkbox[1] = guiCreateCheckBox(277,151,5,5,"",false,false,GUIEditor_Tab[5]) GUIEditor_Label[16] = guiCreateLabel(228,290,229,72,"Mr.Co00oL",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[16],255,0,0) guiSetFont(GUIEditor_Label[16],"sa-gothic") GUIEditor_Label[17] = guiCreateLabel(72,-103,267,61,"",false,GUIEditor_Tab[5]) GUIEditor_Label[18] = guiCreateLabel(147,42,228,58,"Skins panel",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[18],255,255,255,0) guiSetFont(GUIEditor_Label[18],"sa-gothic") function refreshStats() if guiGetVisible(GUIEditor_Window[1],true) then else guiSetText(GUIEditor_Label[2],"your skin :"..getPedSkin(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetVisible (GUIEditor_Window[1], false) function OpenWin() if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor(true) guiSetInputEnabled(true) playSound("1.wav") end end bindKey("F7", "down", OpenWin) function onGuiClick (button, state, absoluteX, absoluteY) if (source == gg) then triggerServerEvent ("gg", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) --------------------------------------------- function onGuiClick (button, state, absoluteX, absoluteY) if (source == th1) then triggerServerEvent ("th1", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) --------------------------------------------- function onGuiClick (button, state, absoluteX, absoluteY) if (source == th2) then triggerServerEvent ("th2", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s1) then triggerServerEvent ("s1", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s2) then triggerServerEvent ("s2", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == sp) then triggerServerEvent ("sp", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == s) then triggerServerEvent ("s", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == l) then triggerServerEvent ("l", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == i) then triggerServerEvent ("i", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == cj) then triggerServerEvent ("cj", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == r) then triggerServerEvent ("r", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function onGuiClick (button, state, absoluteX, absoluteY) if (source == h) then triggerServerEvent ("h", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
iPrestege Posted May 3, 2013 Posted May 3, 2013 outputChatBox("= #f9Ff60***Skin_Panel by #FFaa66 Mr.Co00oL #006699 Press F7 To Open it*** =",0,255,0,true) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(120,39,503,519,"~~~~Skins panel by Mr.Co00oL~~~~",false) guiSetVisible (GUIEditor_Window[1], false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_TabPanel[1] = guiCreateTabPanel(26,114,462,387,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Specials skins",GUIEditor_TabPanel[1]) gg = guiCreateButton(157,158,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(gg,"sa-header") guiSetProperty(gg,"NormalTextColour", "FFFFFF00") GUIEditor_Label[1] = guiCreateLabel(170,129,109,33,"The Joker",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[1],"sa-header") th1 = guiCreateButton(309,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th1,"sa-header") GUIEditor_Label[2] = guiCreateLabel(311,298,150,33,"Arbic skin",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[2],"sa-header") guiSetProperty(th1,"NormalTextColour", "FFFFFF00") th2 = guiCreateButton(13,327,144,32,"Geat it",false,GUIEditor_Tab[1]) guiSetFont(th2,"sa-header") GUIEditor_Label[3] = guiCreateLabel(23,299,150,33,"C RonaLDo",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[3],"sa-header") guiSetProperty(th2,"NormalTextColour", "FFFFFF00") GUIEditor_Tab[2] = guiCreateTab("HaLLOWEEN skins",GUIEditor_TabPanel[1]) s1 = guiCreateButton(161,158,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s1,"sa-header") guiSetProperty(s1,"NormalTextColour", "FFFFFF00") GUIEditor_Label[5] = guiCreateLabel(329,295,127,30,"Scarecrow",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[5],255,0,0) guiSetFont(GUIEditor_Label[5],"sa-header") s2 = guiCreateButton(9,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s2,"sa-header") guiSetProperty(s2,"NormalTextColour", "FF00FF00") guiCreateLabel(36,293,127,30,"Scream",false,GUIEditor_Tab[2]) s = guiCreateButton(313,325,136,31,"Geat it",false,GUIEditor_Tab[2]) guiSetFont(s,"sa-header") GUIEditor_Label[7] = guiCreateLabel(165,126,127,30,"SqueLLte",false,GUIEditor_Tab[2]) guiLabelSetColor(GUIEditor_Label[7],255,0,0) guiSetFont(GUIEditor_Label[7],"sa-header") guiSetProperty(s,"NormalTextColour", "FF00FF00") GUIEditor_Tab[3] = guiCreateTab("funny Skins",GUIEditor_TabPanel[1]) l = guiCreateButton(157,158,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(l,"sa-header") GUIEditor_Label[8] = guiCreateLabel(170,124,123,32,"Mr.Bean",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[8],255,255,0) guiSetFont(GUIEditor_Label[8],"sa-header") guiSetProperty(l,"NormalTextColour", "FF00FF00") i = guiCreateButton(11,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(i,"sa-header") GUIEditor_Label[9] = guiCreateLabel(24,291,123,32,"GoFFey",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[9],255,255,0) guiSetFont(GUIEditor_Label[9],"sa-header") guiSetProperty(i,"NormalTextColour", "FF00FF00") sp = guiCreateButton(305,327,149,29,"Geat it",false,GUIEditor_Tab[3]) guiSetFont(sp,"sa-header") GUIEditor_Label[10] = guiCreateLabel(332,291,123,32,"q1",false,GUIEditor_Tab[3]) guiLabelSetColor(GUIEditor_Label[10],255,255,0) guiSetFont(GUIEditor_Label[10],"sa-header") guiSetProperty(sp,"NormalTextColour", "FF00FF00") GUIEditor_Tab[4] = guiCreateTab("Gangs Skins",GUIEditor_TabPanel[1]) cj = guiCreateButton(146,148,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(cj,"sa-header") GUIEditor_Label[11] = guiCreateLabel(164,118,132,27,"BaLLas ",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[11],255,0,255) guiSetFont(GUIEditor_Label[11],"sa-header") guiSetProperty(cj,"NormalTextColour", "FF00FF00") r = guiCreateButton(5,323,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(r,"sa-header") GUIEditor_Label[12] = guiCreateLabel(4,290,148,35,"Grouver streat",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[12],255,255,0) guiSetFont(GUIEditor_Label[12],"sa-header") guiSetProperty(r,"NormalTextColour", "FF00FF00") h = guiCreateButton(302,318,149,35,"Geat it",false,GUIEditor_Tab[4]) guiSetFont(h,"sa-header") GUIEditor_Label[13] = guiCreateLabel(336,286,78,33,"Vagos",false,GUIEditor_Tab[4]) guiLabelSetColor(GUIEditor_Label[13],255,255,0) guiSetFont(GUIEditor_Label[13],"sa-header") guiSetProperty(h,"NormalTextColour", "FF00FF00") GUIEditor_Tab[5] = guiCreateTab("Homeless",GUIEditor_TabPanel[1]) y = guiCreateButton(89,216,259,67,"Geat it",false,GUIEditor_Tab[5]) guiSetFont(y,"sa-gothic") guiSetProperty(y,"NormalTextColour", "FF00FF00") GUIEditor_Label[14] = guiCreateLabel(88,163,267,59,"special Homeless",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[14],255,0,255) guiSetFont(GUIEditor_Label[14],"sa-gothic") GUIEditor_Label[15] = guiCreateLabel(20,303,162,48,"skins panel By ",false,GUIEditor_Tab[5]) guiSetFont(GUIEditor_Label[15],"sa-header") GUIEditor_Checkbox[1] = guiCreateCheckBox(277,151,5,5,"",false,false,GUIEditor_Tab[5]) GUIEditor_Label[16] = guiCreateLabel(228,290,229,72,"Mr.Co00oL",false,GUIEditor_Tab[5]) guiLabelSetColor(GUIEditor_Label[16],255,0,0) guiSetFont(GUIEditor_Label[16],"sa-gothic") GUIEditor_Label[17] = guiCreateLabel(72,-103,267,61,"",false,GUIEditor_Tab[5]) GUIEditor_Label[18] = guiCreateLabel(147,42,228,58,"Skins panel",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[18],255,255,255,0) guiSetFont(GUIEditor_Label[18],"sa-gothic") function Refresh( ) if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetText(GUIEditor_Label[2],"your skin :"..getPedSkin(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(),Refresh) bindKey("F7","down", function ( ) guiSetVisible ( GUIEditor_Window[1] , not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then playSound("1.wav") end end ) addEventHandler ("onClientGUIClick", getRootElement(), function (button, state, absoluteX, absoluteY) if (source == gg) then triggerServerEvent ("gg", getLocalPlayer()) elseif ( source == th1 ) then triggerServerEvent ("th1", getLocalPlayer()) elseif ( source == th2 ) then triggerServerEvent ("th2", getLocalPlayer()) elseif ( source == s1 ) then triggerServerEvent("s1",getLocalPlayer()) elseif ( source == s2 ) then triggerServerEvent ("s2", getLocalPlayer()) elseif ( source == sp ) then triggerServerEvent ("sp", getLocalPlayer()) elseif ( source == s ) then triggerServerEvent ("s", getLocalPlayer()) elseif ( source == l ) then triggerServerEvent ("l", getLocalPlayer()) elseif ( source == i ) then triggerServerEvent ("i", getLocalPlayer()) elseif ( source == cj ) then triggerServerEvent ("cj", getLocalPlayer()) elseif ( source == r ) then triggerServerEvent ("r", getLocalPlayer()) elseif ( source == h ) then triggerServerEvent ("h", getLocalPlayer()) elseif ( source == y ) then triggerServerEvent ("y", getLocalPlayer()) end end ) Try it.
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