WTF_ Posted August 21, 2017 Share Posted August 21, 2017 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
WTF_ Posted August 21, 2017 Author Share Posted August 21, 2017 مسويه من قبل Door1 = createObject(2634,372, 166.4697265625, 1008.799987793,0,0,0) setElementInterior ( Door1, 3 ) setElementDimension ( Door1, 0 ) Link to comment
A7M8D Posted August 21, 2017 Share Posted August 21, 2017 (edited) 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 August 21, 2017 by #MR.NaiF Link to comment
WTF_ Posted August 21, 2017 Author Share Posted August 21, 2017 (edited) أخوي الكود يعني بعد دقيقة من الوقت ما بيتلغى اليفنت Edited August 21, 2017 by WTF_ Link to comment
iMr.WiFi..! Posted August 21, 2017 Share Posted August 21, 2017 5 hours ago, WTF_ said: أخوي الكود يعني بعد دقيقة من الوقت ما بيتلغى اليفنت وضح مافهمت ._. Link to comment
MR.StoRm Posted August 22, 2017 Share Posted August 22, 2017 21 hours ago, #MR.NaiF said: 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 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