Jump to content

x[ تصحيح ]x كود مهمة


#STZ

Recommended Posts

السلام عليكم و رحمة الله و بركاته

ابي تصحيح لهذا الكود

انا مسوي اذا دخل ماركر المهمة يحط له داتا الانتظار و يعطيه فريز

واذا بدات المهمة يشيل داتا الانتظار و يشيل فريزه

addEventHandler("onResourceStart", resourceRoot, 
function() 
		outputChatBox ("تم فتح باب المهمة", getRootElement(), 255, 255, 255, true )
		if getElementData ( source, "Wait", true ) then 
		setElementFrozen ( source, true )		
addEventHandler("onResourceStart", resourceRoot, 
MissionTimer = setTimer(function()  
		outputChatBox ("تم بدا المهمة واغلاق الباب", getRootElement(), 255, 255, 255, true )
		if getElementData ( source, "Wait", true ) then 
		setElementData ( source, "Wait", false )
		setElementFrozen ( source, false )
		setTimer(checkForWinner, 1000, 1, true)  
	end, 5*60*1000, 1) 
end
end
end
end
)

 

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...