DMCDMCDMC Posted June 5, 2015 Posted June 5, 2015 hello guys , i have a small problem , i want to change my script bank rob with mouse to another one with keyboard , who can help me ? thx for reading
DMCDMCDMC Posted June 5, 2015 Author Posted June 5, 2015 (edited) this is bank rob client : keypad = guiCreateWindow(448,256,384,512,"Rockstar gaming bank roob",false) guiWindowSetMovable(keypad,true) guiWindowSetSizable(keypad,false) guiCreateGridList(58,77,269,51,false,keypad) numberEnter = guiCreateLabel(58,77,269,51,"ENTER CODE",false,keypad) guiLabelSetColor(numberEnter,255,255,255) guiLabelSetVerticalAlign(numberEnter,"center") guiLabelSetHorizontalAlign(numberEnter,"center",false) guiSetFont(numberEnter,"default-bold-small") numberINFO = guiCreateLabel(62,77,269,51,"",false,keypad) guiLabelSetColor(numberINFO,255,255,255) guiLabelSetVerticalAlign(numberINFO,"center") guiLabelSetHorizontalAlign(numberINFO,"left",false) guiSetFont(numberINFO,"default-bold-small") infotext = guiCreateLabel(58,41,269,26,"Enter a number between 0 - 99",false,keypad) guiLabelSetColor(infotext,255,255,255) guiLabelSetVerticalAlign(infotext,"center") guiLabelSetHorizontalAlign(infotext,"center",false) close = guiCreateButton(20,30,25,25,"X",false,keypad) guiSetFont(close,"default-bold-small") button1 = guiCreateButton(69,154,77,77,"1",false,keypad) button2 = guiCreateButton(154,154,77,77,"2",false,keypad) button3 = guiCreateButton(238,154,77,77,"3",false,keypad) button4 = guiCreateButton(69,241,77,77,"4",false,keypad) button5 = guiCreateButton(154,241,77,77,"5",false,keypad) button6 = guiCreateButton(238,241,77,77,"6",false,keypad) button7 = guiCreateButton(69,328,77,77,"7",false,keypad) button8 = guiCreateButton(154,328,77,77,"8",false,keypad) button9 = guiCreateButton(238,328,77,77,"9",false,keypad) buttonBack = guiCreateButton(69,415,77,77,"#",false,keypad) button0 = guiCreateButton(154,415,77,77,"0",false,keypad) enterBTN = guiCreateButton(238,415,77,77,"ENTER",false,keypad) guiSetVisible(keypad, false) function keypadfunctions(button,state) if source == close then if button == "left" and state == "up" then guiSetVisible(keypad, false) showCursor(false) end end if source == button0 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "0") text1 = guiGetText(numberEnter) end end if source == button1 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "1") text1 = guiGetText(numberEnter) end end if source == button2 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "2") text1 = guiGetText(numberEnter) end end if source == button3 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "3") text1 = guiGetText(numberEnter) end end if source == button4 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "4") text1 = guiGetText(numberEnter) end end if source == button5 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "5") text1 = guiGetText(numberEnter) end end if source == button6 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "6") text1 = guiGetText(numberEnter) end end if source == button7 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "7") text1 = guiGetText(numberEnter) end end if source == button8 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "8") text1 = guiGetText(numberEnter) end end if source == button9 then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) if text1 == "ENTER CODE" then text1 = "" end guiSetText(numberEnter, text1 .. "9") text1 = guiGetText(numberEnter) end end if source == enterBTN then if button == "left" and state == "up" then text1 = guiGetText(numberEnter) auswerten(text1) end end end addEventHandler("onClientGUIClick", close, keypadfunctions, false) addEventHandler("onClientGUIClick", button0, keypadfunctions, false) addEventHandler("onClientGUIClick", button1, keypadfunctions, false) addEventHandler("onClientGUIClick", button2, keypadfunctions, false) addEventHandler("onClientGUIClick", button3, keypadfunctions, false) addEventHandler("onClientGUIClick", button4, keypadfunctions, false) addEventHandler("onClientGUIClick", button5, keypadfunctions, false) addEventHandler("onClientGUIClick", button6, keypadfunctions, false) addEventHandler("onClientGUIClick", button7, keypadfunctions, false) addEventHandler("onClientGUIClick", button8, keypadfunctions, false) addEventHandler("onClientGUIClick", button9, keypadfunctions, false) addEventHandler("onClientGUIClick", enterBTN, keypadfunctions, false) Edited June 5, 2015 by Guest
LaCosTa Posted June 5, 2015 Posted June 5, 2015 It's certainly proven that they are leaked even though you can fix the issue yourself or you can get the help for a little correction not changing the whole script
DMCDMCDMC Posted June 5, 2015 Author Posted June 5, 2015 this is SS for the panel http://imgur.com/UxtzdCz
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