Jump to content

طلب كود #


#bazooka

Recommended Posts

السلام عليكم ي شباب  

ابي كود مثلا لو صار بنق الاعب 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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...