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