3tibe511 Posted January 16, 2013 Share Posted January 16, 2013 طلب كود ماركر ينتقل بين العوالم الداخلية[interiors] وسلامتكم Link to comment
MR.S3D Posted January 16, 2013 Share Posted January 16, 2013 طلب كود ماركر ينتقل بين العوالم الداخلية[interiors]وسلامتكم Server function sett(player, x, y, z, id, die) if getElementType(player) == "player" then fadeCamera ( player, false, 1, 0, 0, 0 ) setTimer ( fadeCamera, 1000, 1, player, true, 1 ) setTimer ( setElementPosition, 1000, 1, player, x, y, z) setTimer ( setElementInterior, 1000, 1, player, id) setTimer ( setElementDimension, 1000, 1, player, die) end end local marker1 = createMarker(1598.53906, -2490.17407, 263.42032, "cylinder", 1.5, 255, 0, 0, 255) setElementInterior(marker1,0) -----ينقل الماركر الى العالم الخارج 0 تقدر تغيره تحط اي عالم اخر addEventHandler ("onMarkerHit", getRootElement(), function ( player ) if (source == marker1) then ---اسم الماركر sett(player, 246.47124, 83.76164, 1003.64063, 6, 0) --- ينقلك الى Interior ----sett(player, x, y, z, Interior, Dimension) -- شرح اللي فوق تحط الأحداثيات ورقم العالم end end ) Link to comment
3tibe511 Posted January 16, 2013 Author Share Posted January 16, 2013 فيه مشكلة في سطر 18 Link to comment
Bhrany-danger Posted January 16, 2013 Share Posted January 16, 2013 جـربت الكود مافيه خطأ Link to comment
MR.S3D Posted January 16, 2013 Share Posted January 16, 2013 فيه مشكلة في سطر 18 مافيه شي الكود سيرفر 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