Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. طيب ابي الكود الي يخلي اللوحة الدي اكس تفتح في F3 ممكن ؟
  2. طلبك كامل هنـا viewtopic.php?f=160&t=83617
  3. مششكورين لاكنن انهيت فكرةة المود والان تعلمت ع الدي اكس حلو لاكن ابيه لما يظغط على الزر الي فـ الدي اكس تتغير شخصيته ممكن تضبطولي هاذا الكود مع شرح له ذذ الكود function drawStuff() dxDrawRectangle(210, 90, 440, 268, tocolor(2, 2, 252, 111)) dxDrawText("|| Time Panel || By Pro Gamer", 251, 117, 591, 147, tocolor(255, 3, 3, 255), 2.00, "default", "left", "top", false, false, true, false, false) dxDrawRectangle(220, 170, 154, 35, tocolor(205, 199, 50, 111)) dxDrawRectangle(477, 170, 154, 35, tocolor(205, 199, 50, 111)) dxDrawRectangle(477, 233, 154, 35, tocolor(205, 199, 50, 111)) dxDrawRectangle(220, 231, 154, 35, tocolor(205, 199, 50, 111)) dxDrawText("|| الوقت 1 ||", 220, 173, 396, 205, tocolor(254, 0, 0, 255), 2.00, "default", "left", "top", false, false, true, false, false) dxDrawText("|| الوقت 2 ||", 484, 173, 660, 205, tocolor(254, 0, 0, 255), 2.00, "default", "left", "top", false, false, true, false, false) dxDrawText("|| الوقت 3 ||", 484, 233, 660, 265, tocolor(254, 0, 0, 255), 2.00, "default", "left", "top", false, false, true,false, false) end GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() removeEventHandler("onClientRender",root,drawStuff) GUIEditor.button[1] = guiCreateButton(220, 170, 154, 35,"لا اله الا الله", false) guiSetAlpha(GUIEditor.button[1], 0.02) GUIEditor.button[2] = guiCreateButton(484, 173, 660, 205,"لا اله الا الله", false) guiSetAlpha(GUIEditor.button[2], 0.02) GUIEditor.button[3] = guiCreateButton(13, 91, 140, 32, "لا اله الا الله", false) guiSetAlpha(GUIEditor.button[3], 0.02) GUIEditor.button[4] = guiCreateButton(233, 660, 265, "لا اله الا الله", false) guiSetAlpha(GUIEditor.button[4], 0.02) end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then setElementModel(source, 230) elseif source == GUIEditor.button[2] then setTime(8,0) elseif source == GUIEditor.button[3] then setTime(10,0) end end ) function Open() addEventHandler("onClientRender",root,drawStuff) showCursor( true ) guiSetVisible(GUIEditor.button[1],true) guiSetVisible(GUIEditor.button[2],true) guiSetVisible(GUIEditor.button[3],true) end addCommandHandler("On",Open)
  4. جربت الكود الي عطيتك .. ؟
  5. السسلامم عليكمم .. كيف حالكمم .. انا اليوم ابي اطلب فنكشنات .. مهمةة انا بسويها مألكممء بـ الطويلةة . <3 مثال انا بسوي ماب طيب .. حلو .. طبعـا أبيه يكتب بـ الشات انا احدد الكلمة ! يعطيه موتر و يعطيه فريز وبعد 5 ثواني ينفك الفريز ! واذا طاح بـ البحر يموت ع طول واذا نزل من السياره يموت .. واخر واحد يفوز ابيه يعطيه فلوس بين 1000 , 5000 و م يقدر يفتح المود الي انا احدده .. <3 والسسلام عليكمم ..
  6. جرب * Client : addEventHandler("onClientPlayerWasted",getRootElement(),function(killer) if ( killer ) and ( killer ~= source ) and ( killer == getLocalPlayer() ) then local x,y,z = getElementPosition(source) createExplosion(x,y,z,0,true,-1.0,false) end end) addEventHandler("onClientPlayerWasted",getLocalPlayer(),function() local sound = playSound("wasted.mp3") end) * Server : addEventHandler("onPlayerWasted",getRootElement(),function(ammo,killer,killerweapon,bodypart) if ( killer ) and ( killer ~= source) then setTimer(setCameraTarget,2000,1,source,killer) setTimer(setCameraTarget,9000,1,source,source) end end)
  7. افـاا .. مين ينسـاككء أقبل سكايب او ضيفني progamer896 ض
  8. كود سبـايدر ششغال ي باندول ركز ع TriggerClientEvent تلأحظ [ getServerName ] يعني ردود مالها داعي مو لازم شكرا سبايدر افدتني حتى انا ..
  9. Event ' onMarkerHit ' -- حدث عند لمس الماركر createMarker -- نسوي ماركر createPed -- نسوي شخص setTimer -- نسوي تايمر عشان 6 ثواني setElementModel -- نعطيه شخصيه
  10. لاهنت ممكن مثال اذا ظغط زر يفك الكفر واذا ظغط زر ثاني يرجع الكفر
  11. مشكورينن تمت الاففـادهةة .. لاكن ابي فنكشنات فك الكفر اعتقد معروف **
  12. ححـآس آن الششغله مطولةة ! لأكنن يالله أسهل علي وعليكم ابيه قريد ليسست ممكن الفنكشنآتت ؟
  13. كذا لاكن م أتوقع صح addEventHandler("onClientGUIClick",root, function (fl) if source == Send then local text = guiGetText(edit) guiSetText(getPlayerName (fl),text,Memo) elseif source == cl then guiSetVisible(wnd,false) showCursor( false ) end end )
  14. سسلام عليكم ورحمة الله وبركاته كيفف حألكممء شباب ؟؟ أن شاء الله بخير انا اليوم بـ أطلب فنكشنآت زي سكربت الدعم الفني هو قريد ليسست لاكن انا ابيه على ميمو ممكن الفنكشنآت ؟
  15. لاهنت تابل ممكن شرح لـ هاذا client="1.4.0" server="1.4.0" />
  16. function Open(player) triggerClientEvent(player,"open",player) end
  17. Server Side -- onPlayerSpawn ' Event ' setElementData getElementData أذا تبي يعطيه شخصيه وانا م فهمتك setElementModel
  18. مشكور ي طويل العمر والله م قصرت بسس شوف جربته يقولي الدي بوق باد ارقمنت لما اظغط الرقم Client addEventHandler ("onClientGUIClick", root, function ( thePlayer, txt ) if (source == GUIEditor_Button[1]) then local bind = guiGetText (edit_b) local txt = guiGetText (edit) bindKey (bind, "down", function () setElementData(thePlayer,"Delete_cut",txt) getElementData(thePlayer,"Delete_cut") unbindKey(thePlayer,"down",txt) triggerServerEvent ("Out", localPlayer, txt) end) end end ) Server addEvent("Out",true) addEventHandler("Out",root, function ( Text ) local txt = { Text } local message = table.concat(txt, " ") outputChatBox(message, root, 255, 255, 0, true) end)
  19. مششكور يعطيك العأفيهةء بسس ممكن فنكشنآت اذا يبي يحذف الاختصار يكتب رقم الاختصار بس
  20. م عليش م كنت متأكد لاكن الان يجي الاختصار بس لما آكتب بـ الايديت الاول [ لا اله الا الله ] ء و الايديت الثاني مثلا [ 4 ] ءء واظغط رقم 4 يطلع بـ الشات 4 [ 4 مرات ] ء يتكرر Client GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(251,209,416,211,"# Create Chat Bind System",false) guiSetVisible(GUIEditor_Window[1],true) showCursor( true ) GUIEditor_Label[1] = guiCreateLabel(12,37,38,15,"Text :",false,GUIEditor_Window[1]) edit = guiCreateEdit(54,30,285,32,"",false,GUIEditor_Window[1]) GUIEditor_Label[2] = guiCreateLabel(12,87,38,15,"Bind :",false,GUIEditor_Window[1]) edit_b = guiCreateEdit(54,80,285,32,"",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(12,135,157,33,"* Create ",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(230,135,157,33,"* Close",false,GUIEditor_Window[1]) addEventHandler ("onClientGUIClick", root, function () if (source == GUIEditor_Button[1]) then local bind = guiGetText (edit_b) local txt = guiGetText (edit) bindKey (bind, "down", function (txt) triggerServerEvent ("Out", localPlayer, txt) end) end end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor_Button[3] then guiSetVisible(GUIEditor_Window[1],false) showCursor( false ) end end ) Server addEvent("Out",true) addEventHandler("Out",root, function ( Text ) local txt = { Text } local message = table.concat(txt, " ") outputChatBox(message, root, 255, 255, 0, true) end)
  21. مششكور ذا كلير لاكن لما اسوي الاختصار يجي بـ الدي بوق بأد آرقمن لـ guiGetText and bindKey
  22. Client Side * addEventHandler("onClientGUIClick",root, function Game () if source == GUIEditor.button[1] then return end local Text = guiGetText(edit) local Bind = guiGetText(edit_b) bindKey ( source, Bind, "down", Game ) triggerServerEvent("Out",localPlayer, Text, Bind) end) Server Side * addEvent("Out",true) addEventHandler("Out",root, function ( thePlayer ) outputChatBox("..Text..",thePlayer,255,255,0,true) end )
  23. السسلام عليكم ورحمة الله وبركاته .. كيف حألكممء ي شباب .. انا الان حأب أطلب فنكشنآت يعني رآح آسوي 2 Edit box -- يعني الاول يحط فيه الاختصار و الثاني يحط فيه رقم الاختصار واذا ظغط زر يجي الاختصار و السلام عليكم ورحمةة الله وبركاته
×
×
  • Create New...