#bazooka Posted November 3, 2016 Share Posted November 3, 2016 السلام عليكم ي شباب ابي كود مثلا لو صار بنق الاعب 100 تنغلق الوحه تلقائي مثلا setTimer(guiSetEnabled,20000,1,GroupBank_Deposit_Button,true) if getPlayerPing(localPlayer) < 100 then if getElementData(localPlayer,"ClosePanelBank") then exports["guimessages"]:outputClient("[Bank-System] : #FF0000Bug Abuse Detected!",0,255,255) return end مع ذالك الوحع تبقى لما يصير البنق 100 شلون مدري فيه حل او مساعدة Link to comment
iPrestege Posted November 3, 2016 Share Posted November 3, 2016 local aRender = false function aGetPing ( ) if getPlayerPing ( localPlayer ) >= 100 then if aWindow and guiGetVisible ( aWindow ) == true and aRender == false then removeEventHandler( 'onClientRender',root,aGetPing ) guiSetVisible ( aWindow,false ) exports [ 'guimessages' ]:outputClient ( '[Bank-System] : #FF0000Bug Abuse Detected!',0,255,255 ) aRender = true setTimer ( function ( ) if aRender == true then addEventHandler ( 'onClientRender',root,aGetPing ) aRender = false end end,50,0 ) end end end addEventHandler ( 'onClientRender',root,aGetPing ) حطة بملف المود حق البنك وبدل aWindow بالنافذه حقتك اللي تبي تخفيها وجرب 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