#STZ Posted May 23, 2017 Share Posted May 23, 2017 (edited) السلام عليكم و رحمة الله و بركاته عملت تايمر 5 ثواني بعدين المهمة تقفل لاكن الفريز مش بيتشال من علي اللاعبين الي في المهمة كودي addEvent("RunData",true) addEventHandler("RunData",root, function () setElementData(racegate,"satus",false) setElementData(rungate,"satus",true) OutPut(" [ Run Mission ] تم افتتاح مهمة",root,255,255,0,true) setTimer( function() OutPut("[ Run Mission ] تم بدا مهمة",root,255,0,0,true) setElementData (rungate,"satus",false) local players = getElementsByType("player") for k,v in ipairs(players) do if getElementDimension(v,69) then setElementFrozen(v,false) end, 5000, 1) end end end ) Edited May 23, 2017 by MR.NaiF-MTA Link to comment
^iiEcoo'x_) Posted May 23, 2017 Share Posted May 23, 2017 استعمل المتغيرات في اقفال وفتح المهمة local aMissinJoin = false if aMissionJoin == false then return ouputChatBox ( ' mission close ' , element ) end وبالنسبة للفريز سطر 13 if ( getElementDimension ( v ) == 6 ) then Link to comment
#STZ Posted May 23, 2017 Author Share Posted May 23, 2017 addEvent("RunData",true) addEventHandler("RunData",root, function () setElementData(racegate,"satus",false) setElementData(rungate,"satus",true) OutPut(" [ Run Mission ] تم افتتاح مهمة",root,255,255,0,true) setTimer( function() OutPut("[ Run Mission ] تم بدا مهمة",root,255,0,0,true) setElementData (rungate,"satus",false) end, 5000, 1) local players = getElementsByType("player") for k,v in ipairs(players) do if ( getElementDimension ( v ) == 6 ) then setElementFrozen(v,false) end end end ) ما اشتغل Link to comment
^iiEcoo'x_) Posted May 23, 2017 Share Posted May 23, 2017 لازم تسوي اللوب والفريز داخل التايمر 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