Jump to content

khaledmhammed

Members
  • Posts

    535
  • Joined

  • Last visited

Everything posted by khaledmhammed

  1. شسالفه موضوعي انسحب عليةةةة
  2. https://forum.multitheftauto.com/viewtopic.php?f ... AA#p674059
  3. وينكم معليش ع تكرار الرد
  4. انا الي تعبتك معي على اكوادي الفاشلة , هههههه لا ي بعدهم الحاجة لي ماتعب ع العموم وافي والله
  5. خلاص ي جماعه الخير ماهي ب البرمجة هي اللي يبرمج مبروك عليه ويابخته واللي مو مبرمج مبرمجين المنتدى والله مايقصصرون بعد ماتحاول by لكن من ناحيه ان الواحد يحط لا ذي ماهي حلوة ابدا الكود اللي تطلب به مساعدة ليه ؟ عشان الواحد يركبه بسيرفره و الناس تلعب ماهو عشان تفتخر او غيره بكل الاحوال حصل خير
  6. ايوةة كذا يوديع كفو والله ماقصصرت وتعبتك معي هه ع راسسي والله
  7. مو شغال ومافي اخطاء .. addEventHandler("onClientGuiClick",root, function(player) if source == GUIEditor.button[10] then setTimer( setElementHealth, 10000, 1,0, player ) setElementFrozen ( true , player ) outputChatBox( "ستموت بعد 10 ثواني أنتظر ... ", player, 255, 0, 0 ) if name ~= "" then end end end )
  8. element at argumein طلع لي الخطاء بتايمر و الفريز
  9. addEvent ( "pkill" , true ) addEventHandler ( "pkill", root, function ( player ) antispam[getPlayerSerial( player )] = getTickCount setTimer( killPed, 10000, 1, player ) setElementFrozen ( player, true ) outputChatBox( "ستموت بعد 10 ثواني أنتضر ... ", player, 255, 0, 0 ) end ) المشكله كانت بسطر ذا antispam[getPlayerSerial( player )] = getTickCount مسحته كامل صارت تطلع الرساله بشات بس مايجي له فريز ولا يموت
  10. الان تجي لي خطاء بسيرفر
  11. ايوة كذا تمام اشكرك حسان .. كان قصدي سفاح العلامه تختفي بعد ثواني من التحديد اشكرك سفاح ططلب ثاني الحين لا ضغط ع البوتون يموت الاعب بعد التحققات اللي مسويها انا لكن مو راضي يموت سويت ترايقر ومفروض الاعب لا ضغط الزر يموت لكن مادري وش المشكله ... كلنت addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[10] then triggerServerEvent("pkill"", localPlayer, Player) if name ~= "" then end end end ) سيرفر addEvent ( "pkill" , true ) addEventHandler ( "pkill", root, function ( player ) antispam[getPlayerSerial( player )] = getTickCount setTimer( killPed, 10000, 1, player ) setElementFrozen ( player, true ) outputChatBox( "ستموت بعد 10 ثواني أنتضر ... ", player, 255, 0, 0 ) end )
  12. اررررررررررحب ب الدخلةة مازان العلامه ماتختفي
  13. اين انتم ذا بيست , زاحف , نصور , ابو شنب , سفاح , كلاسيك , حسان سوف اضيع دونك ذذ
  14. المشكله لا حددت الاعب ماتختفي العلامه حاولت اسوي لها تايمر لا حدد الاعب ثواني وتختفي العلامه تلقائي مازبط ابي لاضغطت ع الزر تطلع له علامه ثواني وتختفي .. للمعلومية ماعدلت بالكود غير التايمر شوفولي حل playerb = {} addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[3] then local name = guiGridListGetItemText( GUIEditor.gridlist[1],guiGridListGetSelectedItem(GUIEditor.gridlist[1]),1) if name ~= "" then local playern = getPlayerFromName(tostring(name)) playerb = createBlipAttachedTo(playern,48) elseif source == GUIEditor.button[3] then if isElement(playerb) then setTimer( destroyElement(Blip), 1000, 1, playern ) end end end end )
  15. كفوو ههههههههه مابيها بس عداك العيب
  16. سفاح معليش ابية يرسبن على حسب التيم مثلا انا مسوي جنب كل احداث التيم حقه لو مات يتحقق انه بتيم بوليس لو فعلا بتيم ينقله للاحداث اللي جنب بوليس ولو حدد بالقريد على ارمي وهو فعلا من تيم ارمي ينقله ل الاحداث اللي جنب ارمي ولو مو منها ماينتقل يالت تصلحو اخطائي local Team = { ["Police"] = {1154.412109375, -639.7060546875, 104.15550231934}, ["Army"] = {1236.359375, -619.701171875, 103.74805450439}, ["team"] = {x,y,z}, } GUIEditor = { gridlist = {}, button = {} } wnd = guiCreateWindow(324, 140, 394, 514, "الآنتقالات", false) guiWindowSetSizable(wnd, false) guiSetVisible ( wnd, false ) GUIEditor.button[1] = guiCreateButton(64, 439, 244, 65, "انتقال", false, wnd) guiSetProperty(GUIEditor.button[1],"NormalTextColour", "FF00FF00") gr = guiCreateGridList(30, 72, 324, 363, false, wnd) guiGridListAddColumn(gr, "المكان", 0.9) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor( false ) else guiSetVisible ( wnd, true ) showCursor( true ) end end bindKey("F6", "down", OpenWin) if ( getPlayerTeam == getTeamFromName x, y, z ) then for i,v in ipairs (Team) do local row = guiGridListAddRow ( gr ) guiGridListSetItemText(gr,row,1,v[1],false,false) guiGridListSetItemData(gr,row,1,{ v[2],v[3],v[4] }) end end addEventHandler('onClientPlayerWasted',root, function ( ) if ( source == GUIEditor.button[1] ) then if ( guiGridListGetSelectedItem ( gr ) ~= -1 ) then local x,y,z = unpack(guiGridListGetItemData(gr,guiGridListGetSelectedItem ( gr ),1)) setElementPosition(getLocalPlayer(),x,y,z) setElementData(getLocalPlayer(),'x',x) setElementData(getLocalPlayer(),'y',y) setElementData(getLocalPlayer(),'z',z) end end end) addEventHandler('onClientPlayerWasted',root, function ( ) local x,y,z = getElementData(getLocalPlayer(),'x'),getElementData(getLocalPlayer(),'y'),getElementData(getLocalPlayer(),'z') setTimer(function ( ) setElementPosition (localPlayer,x,y,z) end ,6000, 1 ) end )
  17. تمام اخوي يعطيكك الف عافية
  18. ابي اسوي له تايمر لا مات ثواني وينتقل للمكان ماظبط local Positions = { {'1',1154.412109375, -639.7060546875, 104.15550231934}, {'2',1236.359375, -619.701171875, 103.74805450439}, } GUIEditor = { gridlist = {}, button = {} } wnd = guiCreateWindow(324, 140, 394, 514, "الآنتقالات", false) guiWindowSetSizable(wnd, false) guiSetVisible ( wnd, false ) GUIEditor.button[1] = guiCreateButton(64, 439, 244, 65, "انتقال", false, wnd) guiSetProperty(GUIEditor.button[1],"NormalTextColour", "FF00FF00") gr = guiCreateGridList(30, 72, 324, 363, false, wnd) guiGridListAddColumn(gr, "المكان", 0.9) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor( false ) else guiSetVisible ( wnd, true ) showCursor( true ) end end bindKey("F6", "down", OpenWin) for i,v in ipairs (Positions) do local row = guiGridListAddRow ( gr ) guiGridListSetItemText(gr,row,1,v[1],false,false) guiGridListSetItemData(gr,row,1,{ v[2],v[3],v[4] }) end addEventHandler('onClientPlayerWasted',root, function ( ) if ( source == GUIEditor.button[1] ) then if ( guiGridListGetSelectedItem ( gr ) ~= -1 ) then local x,y,z = unpack(guiGridListGetItemData(gr,guiGridListGetSelectedItem ( gr ),1)) setElementPosition(getLocalPlayer(),x,y,z) setElementData(getLocalPlayer(),'x',x) setElementData(getLocalPlayer(),'y',y) setElementData(getLocalPlayer(),'z',z) end end end) addEventHandler('onClientPlayerWasted',root, function ( ) local x,y,z = getElementData(getLocalPlayer(),'x'),getElementData(getLocalPlayer(),'y'),getElementData(getLocalPlayer(),'z') setTimer(function (localPlayer,x,y,z) setElementPosition (localPlayer,x,y,z) end,1900, 1 ) end)
  19. تممام اخوي بس الحين لا حددت ع المكان ثم سويت كيل اموت نفسي ينقلني للمكان الثاني وانا ميت يمكن لزم تايمر
  20. اخوي انا حطيت كود فيه فتح نافذه بزر و الخ وانت ترجع تحطه لي ثاني ناقص اكواد بانتظار الممساعدة ماظبط
×
×
  • Create New...