Jump to content

مشكلة بسيطة في كود


WTF_

Recommended Posts

addEvent ( 'Open', true )

addEventHandler ( 'Open', root, 
setTimer (function ()
 moveObject(Door1,1000,371.60000610352,  167.19999694824, 1008.5999755859,0,0,70) 
end,5000,0  
end )

بيقول مشكلة في الكود أبي إصلاح بالله أبي أسوي وقت لتحريك الباب

بعدين يرجع لمكانه ويلغى هذا الحدث

Link to comment
addEvent ( 'Open', true )
addEventHandler ( 'Open', root, 
function ()
		setTimer(Move,1000,1)
	end 
)

function Move()
	moveObject(Door1,1000,371.60000610352,  167.19999694824, 1008.5999755859,0,0,70) 
end

 

Edited by #MR.NaiF
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...