#STZ Posted June 19, 2016 Share Posted June 19, 2016 تصحيح كود if ( getElementDimension ( source ) == 30 ) then outputChatBox("تم دخول الديربي بنجاح",255,0,0) end end هذا محاولتي Link to comment
فاّرس Posted June 19, 2016 Share Posted June 19, 2016 السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف Link to comment
#STZ Posted June 19, 2016 Author Share Posted June 19, 2016 السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف if ( getElementDimension ( Player) == 30 ) then outputChatBox("تم دخول الديربي بنجاح",255,0,0) end ) كذا مظبوط ؟ Link to comment
Mr.R Posted June 19, 2016 Share Posted June 19, 2016 السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف if ( getElementDimension ( Player) == 30 ) then outputChatBox("تم دخول الديربي بنجاح",255,0,0) end ) كذا مظبوط ؟ وين الحدث + الوظيفه البلاير مو معرف لازم تعرفه زي كذا مثلا function ( Player ) Link to comment
N3xT Posted June 20, 2016 Share Posted June 20, 2016 local marker = createMarker(...) addEventHandler("onMarkerHit",root, function ( plr ) if source == marker and getElementType ( plr ) == "player" and getElementDimension ( plr ) == الدمنشن then outputChatBox("تم دخول الديربي بنجاح", plr, 255, 0, 0, true) end 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