Emgawe.117 Posted April 14, 2016 Posted April 14, 2016 function سلام عليكم () الـسلاام عليكمم وورححمة الله وبركاتته function الطلب () ابي كود تكتب في اف 8 يظهر ماركار end )
iMr.WiFi..! Posted April 14, 2016 Posted April 14, 2016 (edited) function وعليكم السلام () createMarker addCommandHandler end Edited April 14, 2016 by Guest
Ahmed Ly Posted April 14, 2016 Posted April 14, 2016 (edited) function سلام عليكم ()الـسلاام عليكمم وورححمة الله وبركاتته function الطلب () ابي كود تكتب في اف 8 يظهر ماركار end ) function new () local x,y,z = getElementPosition(source) createMarker (x,y,z, "cylinder", 2, 244 , 87, 10, 255 ) outputChatBox("تم انشاء الماركر",source,0,255,0,true) end addCommandHandler("ww",new) Edited April 14, 2016 by Guest
Ahmed Ly Posted April 14, 2016 Posted April 14, 2016 function وعليكم السلام () createMarker addCommandHandler end ليش حذفة القوس
Abdul KariM Posted April 14, 2016 Posted April 14, 2016 يفضل تسوي متغير للماركر ويوم تجي تكتب الكلمة تتحقق من وجوده عشان مايكرر الماركرات , واستخدم التيبل اذا تبي تسوي ماركر لواحد كتب الكلمة
iMr.SFA7 Posted April 14, 2016 Posted April 14, 2016 function new () local x,y,z = getElementPosition(source) createMarker (x,y,z, "cylinder", 2, 244 , 87, 10, 255 ) outputChatBox("تم انشاء الماركر",source,0,255,0,true) end addCommandHandler("ww",new) السـورس غـير معرف بإحـضار الاحداثيات والشات بوكس function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) then outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end end addCommandHandler("createMarker",createMarkerCmd)
Emgawe.117 Posted April 14, 2016 Author Posted April 14, 2016 (edited) يفضل تسوي متغير للماركر ويوم تجي تكتب الكلمة تتحقق من وجوده عشان مايكرر الماركرات , واستخدم التيبل اذا تبي تسوي ماركر لواحد كتب الكلمة انا ابيه مايكرر الماركرات Edited April 14, 2016 by Guest
iMr.SFA7 Posted April 14, 2016 Posted April 14, 2016 انا ابيه مايكرر الماركرات أفهم من كلامـك أنك تبيه يسوي ماركر واحد ولـو تبي تسوي ماركـر ثانـي يسحب الأول ويحط الثانـي؟
Emgawe.117 Posted April 14, 2016 Author Posted April 14, 2016 انا ابيه مايكرر الماركرات أفهم من كلامـك أنك تبيه يسوي ماركر واحد ولـو تبي تسوي ماركـر ثانـي يسحب الأول ويحط الثانـي؟ يب بس لكل الاشخاص
iMr.SFA7 Posted April 14, 2016 Posted April 14, 2016 marker = { } function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) end marker[thePlayer] = createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end addCommandHandler("createMarker",createMarkerCmd) اذا كنت تـبي المـاركر ينحذف لمـا اللاعب الي صنع الماركر يطلع فـ ضيف عليه هـ الكود ; addEventHandler('onPlayerQuit', root, function() if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) marker[thePlayer] = nil end end)
Emgawe.117 Posted April 14, 2016 Author Posted April 14, 2016 marker = { } function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) end marker[thePlayer] = createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end addCommandHandler("createMarker",createMarkerCmd) addEventHandler('onPlayerQuit', root, function() if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) marker[thePlayer] = nil end end)
iMr.SFA7 Posted April 14, 2016 Posted April 14, 2016 marker = { } function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) end marker[thePlayer] = createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end addCommandHandler("createMarker",createMarkerCmd) addEventHandler('onPlayerQuit', root, function() if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) marker[thePlayer] = nil end end) ?
iMr.WiFi..! Posted April 14, 2016 Posted April 14, 2016 marker = { } function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) end marker[thePlayer] = createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end addCommandHandler("createMarker",createMarkerCmd) addEventHandler('onPlayerQuit', root, function() if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) marker[thePlayer] = nil end end) marker = { } function createMarkerCmd(thePlayer) local x, y, z = getElementPosition(thePlayer) if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) end marker[thePlayer] = createMarker (x, y, z, "cylinder", 2, 255 , 0, 0, 255 ) outputChatBox("createMarker .. Done!!",thePlayer, 255, 0, 0, true) end addCommandHandler("createMarker",createMarkerCmd) addEventHandler('onPlayerQuit', root, function() if isElement ( marker[thePlayer] ) then destroyElement (marker[thePlayer]) marker[thePlayer] = nil end end) الكود تمام مفيه شيء ليش وين المشكلة ؟
Abdul KariM Posted April 14, 2016 Posted April 14, 2016 المفروض انت تجربه قبل لاتقول لنا , حنا نجرب عنك يعني ؟
Emgawe.117 Posted April 14, 2016 Author Posted April 14, 2016 المفروض انت تجربه قبل لاتقول لنا , حنا نجرب عنك يعني ؟ حقك علا راسي
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