Jump to content

yazan

Members
  • Posts

    1,452
  • Joined

  • Last visited

Everything posted by yazan

  1. هههههه مثل ما قال تابل انت شتغلت على كود هريسه بيطلع لك هريسسه الكود لو زببط الاكواد يشتغل و نسيت يوم يخرج من الماررك اعمل داتا فلس
  2. الفنكشن ههههههه و انا اقول ليه من شوي واحد جالس يتهبل علي الحين انتبهت الكيبورد عندي بدون كبسات لو اصوره لك ترسل لي فلوسس اصلحه ض1
  3. يمكن كان مندس عنك ماندري الفنيشن تشوفني تهرب
  4. الصوت كلنت فقط مو سيرفر غير السيرفر الى كلنت بشتغل جربه و شوف طريقه تنطيل دقيقه و احسن
  5. اول مره اشوف هذه الفنيشن isElementWithinMarker
  6. طيب وش الفكره لو طحنت ام الابتوب وين المغزى بالموضوع
  7. متاكد انه الصوت موجود في المسار الصح باليمتا و المود و ملف المود
  8. local msg = helpmessage[math.random(1, #helpmessage)] جرب كذا
  9. لا بس احداث المارك تاكد انك دخلت المارك و ضغط زر تاب
  10. تم تعديل كان في غلط اند زايد
  11. addEventHandler ("onResourceStart", resourceRoot, function () for _,v in ipairs (getElementsByType ("player")) do setTimer ( function() outputChatBox ( "[Help] : للانتحار اكتب في اف 8 kill ", v, 255, 0, 0, true ) end, 10000, 0 ) setTimer ( function() outputChatBox ( "[Help] : للفتح جهاز الشرطة اكتب اضغط F5", v, 255, 0, 0, true ) end, 20000, 0 ) end end)
  12. أعمل جدول في الكلامات مثل local say_messages = { [1] = "Hallo!", [2] = "1", [3] = "2", [4] = "3" } و اعمل تايمر يختار بترتيب لين يوصل اخر كلمه يرجع يعيد
  13. رد على تعليق اليوقل بدون مؤشر المؤشر يختفي لمن تختفي لوحه ثانيه مو اول لوحة
  14. marker = createMarker ( x, y, z, "cylinder", 5, 255, 255, 255 ) Object = createObject ( model, x, y, z ) addEventHandler ( "onClientMarkerHit", resourceRoot, function ( element ) if ( source == marker ) then setElementData ( localPlayer, "ss", true ) end end) bindKey("tap", "down", function() if ( getElementData( localPlayer, "ss", true )) then if isElement ( si ) then destroyElement ( si ) end si = playSound("1.mp3") end end)
  15. تقدر عادي local تحط المتغير بدون مثل Client 1 x, y, z = getElementPosition( TheCar ) Client 2 outputChatBox (x, y, z) شكرا العفو في الخدمه
  16. وظيف القطار مع فنيشن السياره تلقاه تحت Train
  17. العفو # هذه المثال يوم تلصق شاحنه يعطيك داتا و يوم تفكها يغير قيمه داتا الى فلس يوم تكبس زر يتحقق من قيمه داتا لو ترو يشغل صوت 1 لو فلس يشغل صوت 2 مجرد مثال
  18. تقدر عادي local تحط المتغير بدون مثل Client 1 x, y, z = getElementPosition( TheCar ) Client 2 outputChatBox (x, y, z)
  19. اعمل داتا مع الايفنت تركيب المقطوره و امسح داتا لمن تفكك و تحقق من داتا مدري لو فيه طريقه ثانيه onTrailerAttach onTrailerDetach setElementData edit# هذه مثال function detachTrailer(theTruck) setElementData ( localPlayer, "Spawncite", true ) end addEventHandler("onTrailerAttach", getRootElement(), detachTrailer) function detachTrailer(theTruck) setElementData ( localPlayer, "Spawncite", false ) end addEventHandler("onTrailerDetach", getRootElement(), detachTrailer) addEventHandler ("onClientGUIClick", resourceRoot, function () if (source == Button) then if ( getElementData( localPlayer, "Spawncite", true )) then playSound("1.mp3") else playSound("2.mp3") end end end)
  20. كيف تختار شخصيه !
  21. يمكن كذا يشتغل معك سيرفر # soundplace = createColCuboid(1120.0715, 2724.2297, 8.5, 413.5, 127.75, 30) soundplace2 = createColCuboid(1419.2188, 2849.9783, 8.5, 114.5, 32.5, 30) addEvent( "dd", true ) addEventHandler( "dd", root, function () for i, player in ipairs (getElementsByType("player")) do if isElementWithinColShape ( Player, soundplace ) and isElementWithinColShape ( Player, soundplace2 ) then triggerClientEvent (player, "PlaySound") end end end) كلنت function sound1() if ( source == GUIEditor.button[1] ) then local item = guiGridListGetItemText( gridlist5, guiGridListGetSelectedItem ( gridlist5 ), 1 ) if item == "Song1" then triggerServerEvent ( "dd", localPlayer ) guiSetVisible ( window, false ) showCursor ( false ) end end end addEventHandler("onClientGUIClick", root, sound1) addEvent ("PlaySound", true) addEventHandler ("PlaySound", root, function () if isElement(sound) then stopSound(sound) end local sound = playSound("chat.mp3", false) end end)
×
×
  • Create New...