Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. وتقدر تسوي كذا local r,g,b = guiGetText(element),guiGetText(element),guiGetText(element) triggerServerEvent("ll",localPlayer,r,g,b) مثال لا غير
  2. شوف الصفحة ف الويكي وشوف المثال
  3. اقسم بالله انك تجيب الشي ع نفسك دلخ ب معنى الكلمة !
  4. طيب لو كتب مثال /All يجي ب القريد ليست ؟
  5. اجل تحط على عماك ؟ هاذا م يسمى شرح + اتوقع لو ظغط على زر ثاني ويشغل صوت تشتغل صوتين ,
  6. وش الحدث الي يجيب الاعب وش كتب ؟
  7. سلآمم عليكم انا ابي فنكشنات Command System مثال انا كتبت ب اف 8 give يجي عند ب القريد ليست Rank : Player Name Command 1 - ProGamer Give وفيه ازرار remove -- حذف refresh -- تحديث close -- اغلاق والنظام ابيه ب SQL
  8. ^ اول كود عندك قوس زيآده سويت لك مثال على الفنكشنات الي طلبتها انت Client : addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == Weapon ) then triggerServerEvent("Weapon",localPlayer) end end) Server : addEvent("Weapon",true) addEventHandler("Weapon",root, function (plr) if ( isPedInVehicle(plr) ) then return end if ( getPlayerMoney(plr) == 100 ) then giveWeapon(plr,43,300) takePlayerMoney(plr,100) else outputChatBox("..",plr,255,255,0,true) end end)
  9. ^ سكَربت رآئع ب التوفيق شكرأ على الاهداء <3
  10. Event : onClientResourceStart guiSetVisible playSound setTimer guiCreateStaticImage م اتوقع كلها
  11. عطإك ذا كلير
  12. وش تبي نشرحلك
  13. يقدر يسويها ب جدول م اشوف اي صعوبه getElementsByType -- loop setVehicleComponentVisible -- true
  14. تأكد ان الكود سيرفر
  15. جرب function onMarkerHit5(player) local account1 = getPlayerAccount(player) if getElementHealth(car) <= 700 then destroyElement(car) outputChatBox("Your vehicle health is 70 you are deposited", player, 255, 0, 0) return end if getElementData(player, "driverTestMarker4") == false then return end if (getElementType (player) == "vehicle") then if (source == markerEnd) then destroyElement(markerEnd) outputChatBox("Welcome", player, 255, 0, 0) if account1 then if getElementData(player, "driverTestMarker4") == true then setAccountData(account1, "Name", true) end end end end end addEventHandler("onMarkerHit", getResourceRootElement(), onMarkerHit5)
  16. سسويت كود فك الصدام الامامي وانت سوي الباقي addEventHandler("onClientGUIClcik",resourceRoot, function ( ) if ( source == Name ) then setVehicleComponentVisible(getPedOccupiedVehicle(localPlayer),"bump_front_dummy",false) outputChatBox("تم فك الصدام الامامي") end end) edit : اذا تبي اسوي لك مثال على ارجاع الكل كلمني
  17. تسوي تيم createTeam تختفي البلب destroyElement
  18. اذا تبي تسوي زر مخفي لل الدي اكس كذا guiCreateButton(.....) -- نسوي زر guiSetAlpha -- نسوي شفافيه ل الزر guiSetVisible -- نخفي الزر Event : onClientGUIClick اذا بتسوي مربع دي اكس او زر dxDrawRectangle Event : onClientRender ويوم بتسوي يفتح بزر guiSetVisible addEventHandler -- onClientRender removeEventHandler -- onClientRender -- showCursor bindKey
  19. صحيح الفنكشنات لاكن اسهل له isMouseInPosition dxDrawRectangle dxDrawText Event : onClientClick
  20. كود يزن صحيح لاكن الغلط منك اطرح Client كامل و الميتا
×
×
  • Create New...