^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 ابي اسوي مهمة وابي محد يدخل للمنطقة غير الي دخل الماركر ... حق دخول المهمة Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 طيب عندي حل .... اسوي ماركرات على الاطراف بس يوجد استفسارار بسيط هل استطيع اختصار الماركرات بجداول ؟ Link to comment
SycroX Posted July 18, 2016 Share Posted July 18, 2016 شد شد سفاح قربت توصل 2016 http://prntscr.com/bud6ya + صاحب الموضوع تقدر يب local Markers = { {x,y,z}, {x,y,z} } Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 كذااا ؟؟!! local Marker = { {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, {x, y, z, "arrow", 2, 255, 0, 0, 150}, } Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 شد شد سفاح قربت توصل 2016http://prntscr.com/bud6ya + صاحب الموضوع تقدر يب local Markers = { {x,y,z}, {x,y,z} } طيب يا احمد وين حجم الماركر والالوان ونوعه ؟ Link to comment
SycroX Posted July 18, 2016 Share Posted July 18, 2016 Markers = { {z, y, x} } for i=1,#Markers do local x, y, z = Markers[i][1], Markers[i][2], Markers[i][3] local Marker = createMarker(x, y, z-1, "cylinder", 1, 225, 255, 0, 150) end Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 Markers = { {z, y, x} } for i=1,#Markers do local x, y, z = Markers[i][1], Markers[i][2], Markers[i][3] local Marker = createMarker(x, y, z-1, "cylinder", 1, 225, 255, 0, 150) end مشكوووووور احمد بس اتمنى منك تتضل متابع هالموضوع لانه رح يطول Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 كذا يضبط ؟ Markers = { {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} {z, y, x} } for i=1,#Markers do local x, y, z = Markers[i][1], Markers[i][2], Markers[i][3] local Marker = createMarker(x, y, z-1, "cylinder", 1, 225, 255, 0, 150) end Link to comment
N3xT Posted July 18, 2016 Share Posted July 18, 2016 يب يظبط بس عدل z, y, x للإحداثيات حقتك Link to comment
' A F . Posted July 18, 2016 Share Posted July 18, 2016 لا ماراح يظبط حط الفواصل بالجدول يعني كذا {x,y,z}, Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 ايه و جدول احداثيات ااخر واحد محط له Link to comment
N3xT Posted July 18, 2016 Share Posted July 18, 2016 @Default . م أنتبهت للفواصل ، عموماً يب أخر جدول لا تحط له فاصلة Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 مشكورين اخواني والله تعبتكو معي بس تتاكدولي من هالكود واذابه اخطاء صححولي اياه addEventHandler("onPlayerWasted", root, function( _, Killer ) if isElement(Killer) and getElementType(Killer) == "player" then exports["guimessages"]:outputServer(root, "*[boxing Mission] "..getPlayerName(Killer).." ("..getElementData(Killer,"PointBox").." Damage) "..getPlayerName(source).." ("..getElementData(source,"PointBox").." Damage) ", 0, 255, 255) TopKill[Killer] = (TopKill[Killer] or 0) + 1 else exports["guimessages"]:outputServer(root, "*[boxing Mission] ["..getPlayerName(source).."] Dead In Boxing Mission !", 255, 255, 0) end triggerClientEvent(source, "BoxingWasted", source) if isElement(Killer) and getElementType(Killer) == "player" then triggerClientEvent(Killer, "winbox", Killer) triggerEvent("Point",Killer) setElementData(Killer,"KilledInMission",(getElementData(Killer,"KilledInMission")or 0)+1) exports["guimessages"]:outputServer(Killer,"*[boxing Mission] You Won 1 Point",0, 255, 255) end end end end end ); addCommandHandler("getScoreMission", function(player) outputChatBox("You score in mission is: "..getElementData(player, "PointBox", player) end ) كلينت addEvent("BoxingWasted",true) addEventHandler("BoxingWasted",root,WastedMissionBoxing) addEvent("winbox", true) addEventHandler("winbox",root,ActionMissionGood) Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 انا م اقول انتو جربو بس شوفولي اذا به اخطاء Link to comment
' A F . Posted July 18, 2016 Share Posted July 18, 2016 ^ لأيوجد جدول بـ الاسم هاذا ( TopKill ) .. جرب الكود وافتح الدي بوق وشوف الاخطاء Link to comment
^iiEcoo'x_) Posted July 18, 2016 Author Share Posted July 18, 2016 طيب ابي اسوي لوحة ابي التوب كيل يجي باللوحة كيف ؟ Link to comment
^iiEcoo'x_) Posted July 20, 2016 Author Share Posted July 20, 2016 طيب ابي اسوي عد تنازلي كيف ؟ كذا ؟ setTimer ( outputChatBox, 5000, 1, "5" ) setTimer ( outputChatBox, 4000, 1, "4" ) setTimer ( outputChatBox, 3000, 1, "3" ) setTimer ( outputChatBox, 2000, 1, "2" ) setTimer ( outputChatBox, 1000, 1, "1" ) 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