yazan
Members-
Posts
1,452 -
Joined
-
Last visited
Everything posted by yazan
-
هههههه مثل ما قال تابل انت شتغلت على كود هريسه بيطلع لك هريسسه الكود لو زببط الاكواد يشتغل و نسيت يوم يخرج من الماررك اعمل داتا فلس
-
الفنكشن ههههههه و انا اقول ليه من شوي واحد جالس يتهبل علي الحين انتبهت الكيبورد عندي بدون كبسات لو اصوره لك ترسل لي فلوسس اصلحه ض1
-
اهنيك ابداع
-
يمكن كان مندس عنك ماندري الفنيشن تشوفني تهرب
-
الصوت كلنت فقط مو سيرفر غير السيرفر الى كلنت بشتغل جربه و شوف طريقه تنطيل دقيقه و احسن
-
اول مره اشوف هذه الفنيشن isElementWithinMarker
-
طيب وش الفكره لو طحنت ام الابتوب وين المغزى بالموضوع
-
متاكد انه الصوت موجود في المسار الصح باليمتا و المود و ملف المود
-
local msg = helpmessage[math.random(1, #helpmessage)] جرب كذا
-
لا بس احداث المارك تاكد انك دخلت المارك و ضغط زر تاب
-
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)
-
أعمل جدول في الكلامات مثل local say_messages = { [1] = "Hallo!", [2] = "1", [3] = "2", [4] = "3" } و اعمل تايمر يختار بترتيب لين يوصل اخر كلمه يرجع يعيد
-
رد على تعليق اليوقل بدون مؤشر المؤشر يختفي لمن تختفي لوحه ثانيه مو اول لوحة
-
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)
-
تقدر عادي local تحط المتغير بدون مثل Client 1 x, y, z = getElementPosition( TheCar ) Client 2 outputChatBox (x, y, z) شكرا العفو في الخدمه
-
وظيف القطار مع فنيشن السياره تلقاه تحت Train
-
تقدر عادي local تحط المتغير بدون مثل Client 1 x, y, z = getElementPosition( TheCar ) Client 2 outputChatBox (x, y, z)
-
اعمل داتا مع الايفنت تركيب المقطوره و امسح داتا لمن تفكك و تحقق من داتا مدري لو فيه طريقه ثانيه 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)
-
يمكن كذا يشتغل معك سيرفر # 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)