PaiN^ Posted May 11, 2013 Posted May 11, 2013 createMarker addEventHandler 'onMarkerHit' setElementPosition or spawnPlayer " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
PaiN^ Posted May 11, 2013 Author Posted May 11, 2013 إقرا الويكي وشوف الأرجمنت المطلوب ! وشوف المثال عشان تفهم منه مو تنسخ سوي كود و إذا ما ضبط إطرحه و نساعدكـ " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
iMr.Dawix~# Posted May 12, 2013 Posted May 12, 2013 createMarker--- انشاء ماركر addEventHandler---- اضافة حدث 'onMarkerHit'--- حدث اول ما يلمس الماركر spawnPlayer---يسوي سباون للاعب setElementPosition ---يغير مكان اللاعب setElementPosition ينقل اللاعب لأحداثيات معينه spawnPlayer يسوي سباون للاعب لأحداثيات معينه وموجود في نفس وظيفة السباون حق شخصيه وعالم spawnPlayer أنآ أفضل أنك تستخدم My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
AboShanab Posted May 12, 2013 Posted May 12, 2013 Server Side !! marker = createMarker(-2405,-598,132.6484375,"cylinder",1.5, 150, 0, 0) -- انشاء ماركر addEventHandler ("onMarkerHit",marker, -- عند لمس الماركر function (player) spawnPlayer ( player, 2753.1547851563, -3417.6713867188, 141.5, 0, 285, 0, 0) -- سباون للاعب outputChatBox("#FF0000You is Spown Now",player,255,255,255,true) -- كلامم في الشات end -- اغلاق function ) -- اغلاق الوظيفة Skype : aboshanab_
iPrestege Posted May 12, 2013 Posted May 12, 2013 local marker = createMarker( x,y,z,"cylinder",1.5, 150, 0, 0 ) addEventHandler ("onMarkerHit",marker, function ( player ) if ( getElementType ( player ) == ( "player" ) ) then setElementPosition ( player , x ,y ,z ) outputChatBox("#FF0000You is Spown Now",player,255,255,255,true) end end )
iPrestege Posted May 12, 2013 Posted May 12, 2013 x,y,z = الاولى في الماركر هي اللي تسوي الماركر x,y,z = في سيت المنت بوس هذي ينتقل لها
فاّرس Posted May 12, 2013 Posted May 12, 2013 ^ اذا ما تقرا الويكي ما راح تعرف تسوي نص كود, Sha67 سابقاً
iPrestege Posted May 12, 2013 Posted May 12, 2013 الموضوع مخالف1- العنوان 2- طلب الكود جاهز 1- لست مشرفاَ على هذا القسم 2- مي تو
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