proracer Posted February 1, 2011 Share Posted February 1, 2011 i say your code i replace with the old server side then the script not work just show the window and thesee : cilent side GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(345,168,342,446,"CounteR Strike Script By HoLsTeN 1.0",false) guiSetVisible(GUIEditor_Window[1],false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,20,324,417,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("CounteR Strike",GUIEditor_TabPanel[1]) GUIEditor_Button[1] = guiCreateButton(7,147,95,32,"Follow Me",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(7,191,95,32,"Cover Me",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(7,235,95,32,"storm front",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(7,280,95,32,"Taking Fire",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(7,326,95,32,"Hold this Position",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(113,147,95,32,"Regroup Team",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(114,191,95,32,"Go Go Go",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(116,235,95,32,"Fall Back",false,GUIEditor_Tab[1]) GUIEditor_Button[9] = guiCreateButton(117,280,95,32,"stick Togeher Team",false,GUIEditor_Tab[1]) GUIEditor_Button[10] = guiCreateButton(118,326,95,32,"Need Backup",false,GUIEditor_Tab[1]) GUIEditor_Button[11] = guiCreateButton(219,147,95,32,"Roger That",false,GUIEditor_Tab[1]) GUIEditor_Button[12] = guiCreateButton(221,191,95,32,"Negative",false,GUIEditor_Tab[1]) GUIEditor_Button[13] = guiCreateButton(220,235,95,32,"Report In",false,GUIEditor_Tab[1]) GUIEditor_Button[14] = guiCreateButton(221,280,95,32,"I'm in Position",false,GUIEditor_Tab[1]) GUIEditor_Button[15] = guiCreateButton(221,326,95,32,"Sector Clear",false,GUIEditor_Tab[1]) GUIEditor_Image[1] = guiCreateStaticImage(4,7,314,138,"11.png",false,GUIEditor_Tab[1]) GUIEditor_Label[1] = guiCreateLabel(12,370,308,19,"Just click on the button 1 time By HoLsTeN Have Fun",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],0,255,0) function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[1]) then triggerServerEvent ("followme1", getLocalPlayer()) elseif (source == GUIEditor_Button[2]) then triggerServerEvent ("ct_coverme1", getLocalPlayer()) elseif (source == GUIEditor_Button[3]) then triggerServerEvent ("stormfront1", getLocalPlayer()) elseif (source == GUIEditor_Button[4]) then triggerServerEvent ("fireassis1", getLocalPlayer()) elseif (source == GUIEditor_Button[5]) then triggerServerEvent ("position1", getLocalPlayer()) elseif (source == GUIEditor_Button[6]) then triggerServerEvent ("regroup1", getLocalPlayer()) elseif (source == GUIEditor_Button[7]) then triggerServerEvent ("com_go1", getLocalPlayer()) elseif (source == GUIEditor_Button[8]) then triggerServerEvent ("fallback1", getLocalPlayer()) elseif (source == GUIEditor_Button[9]) then triggerServerEvent ("sticktog1", getLocalPlayer()) elseif (source == GUIEditor_Button[10]) then triggerServerEvent ("ct_backup1", getLocalPlayer()) elseif (source == GUIEditor_Button[11]) then triggerServerEvent ("roger1", getLocalPlayer()) elseif (source == GUIEditor_Button[12]) then triggerServerEvent ("negative1", getLocalPlayer()) elseif (source == GUIEditor_Button[13]) then triggerServerEvent ("com_reportin1", getLocalPlayer()) elseif (source == GUIEditor_Button[14]) then triggerServerEvent ("ct_inpos1", getLocalPlayer()) elseif (source == GUIEditor_Button[15]) then triggerServerEvent ("clear1", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function ToggleazozMenu() if (guiGetVisible(GUIEditor_Window[1]) == true) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) else guiSetVisible(GUIEditor_Window[1], true) showCursor(true) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end addEventHandler( "onClientGUIClick", playerGridList, setGUI ) local sound = playSound("DontHaveTime.mp3") setSoundVolume(sound, 2.5) end end bindKey("F2","down",ToggleazozMenu) outputChatBox("Press F2 To Open ||CounteR Strike Script|| !!!",0,255,255) ----------------- enabled = 1 function enable() enabled = 1 end addEvent("followme",true) addEventHandler("followme",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("followme.mp3") setSoundVolume(sound, 2.0) end end) ------------------- addEvent("ct_coverme",true) addEventHandler("ct_coverme",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("ct_coverme.mp3") setSoundVolume(sound, 2.0) end end) ------------------ addEvent("stormfront",true) addEventHandler("stormfront",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("stormfront.mp3") setSoundVolume(sound, 2.0) end end) ------------------------ addEvent("fireassis",true) addEventHandler("fireassis",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("fireassis.mp3") setSoundVolume(sound, 2.0) end end) ----------------------- addEvent("position",true) addEventHandler("position",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("position.mp3") setSoundVolume(sound, 2.0) end end) ---------------------------- addEvent("regroup",true) addEventHandler("regroup",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("regroup.mp3") setSoundVolume(sound, 2.0) end end) ----------------------------- addEvent("com_go",true) addEventHandler("com_go",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("com_go.mp3") setSoundVolume(sound, 2.0) end end) ----------------------------- addEvent("fallback",true) addEventHandler("fallback",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("fallback.mp3") setSoundVolume(sound, 2.0) end end) --------------------------------------- addEvent("sticktog",true) addEventHandler("sticktog",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("sticktog.mp3") setSoundVolume(sound, 2.0) end end) ------------------------------- addEvent("ct_backup",true) addEventHandler("ct_backup",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("ct_backup.mp3") setSoundVolume(sound, 2.0) end end) ---------------------------- addEvent("roger",true) addEventHandler("roger",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("roger.mp3") setSoundVolume(sound, 2.0) end end) --------------------------------- addEvent("negative",true) addEventHandler("negative",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("negative.mp3") setSoundVolume(sound, 2.0) end end) ---------------------------------- addEvent("com_reportin",true) addEventHandler("com_reportin",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("com_reportin.mp3") setSoundVolume(sound, 2.0) end end) ------------------------------------ addEvent("ct_inpos",true) addEventHandler("ct_inpos",getRootElement(), function () if enabled == 1 then enabled = 0 local sound = playSound("ct_inpos.mp3") setSoundVolume(sound, 2.0) end end) ------------------------------------ addEvent("clear",true) addEventHandler("clear",getRootElement(), function () if enabled == 1 then enabled = 0 Link to comment
solidsnake Posted August 21, 2011 Share Posted August 21, 2011 You don't need this anymore I fixed it from that day did u forget ? 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