Hamza Elsayed
Members-
Posts
119 -
Joined
-
Last visited
Everything posted by Hamza Elsayed
-
ضيفني أنت maxesor.elsayed1
-
لاقي زواحف كتيييييييييييييييييير
-
طيب أنا محتاج السكربت ضروري عايز شخص يسويلي ياه بمبلغ مالي
-
أخوااااااااااااااااااااااااااااااااااااااان
-
بالله عليكم قولولي حاجة مفيدة عشان معيدش أخطائي مرة تانية
-
أوك شكراً جاري التجربة بس هوا كودي صح أصلاً
-
addEventHandler( 'onPlayerVoiceStart', root, function() local x1, y1, z1 = getElementPosition (localPlayer) local x2, y2, z2 = getElementPosition (localPlayer) local x, y, z = getDistanceBetweenPoints3D (x1, y1, z1, x2, y2, z2) <= 5 if x and y and z then isVoiceEnabled () end end) يارببببببببببببببببببببببببببببببببببببببببببببببب
-
أنا لسه ما رفعت السيرفر ف مفيش حد أجرب معاه فبطلعلكو الكود
-
local player1X, player1Y, player1Z = getElementPosition (localPlayer1) local player2x, player2y, player2z = getElementPosition (localPlayer2) addEventHandler( 'onPlayerVoiceStart', root, if math.floor ( getDistanceBetweenPoints3D ( player1x, player1y, player1z, player2x, player2y, player2z ) <= 5 ) then isVoiceEnabled ( ) end ) كدا
-
خلااااااااااااااااااااااااااااااص
-
خلصنا خلااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااااص أنا ححط كودي ولو كله غلط قولولي
-
هنا للمساعدة مو نسوي له كودهـ .. هو ما سوا الا هريسة .. ويقدر يخش كل فنكشن ويشوف المثال حقه . أخي أنا بحاول أخليه عن طريق البعد مش عايز أخليه لجروب معين دلوقت
-
أسف لو متقل عليك بس ممكن تطلعلي الأخطاء
-
if isVoiceEnabled() then addEventHandler( 'onPlayerVoiceStart', root, function() player1x, player1y, player1z = getElementPosition ( player1 ) player2x, player2y, player2z = getElementPosition ( player2 ) themarker = createMarker ( getDistanceBetweenPoints3D ( player1x, player1y, player1z, player2x, player2y, player2z ) ) if ( source =~ themarker ) then cancelEvent () end end ) end طيب وكدا
-
if isVoiceEnabled() then addEventHandler( 'onPlayerVoiceStart', root, function() player1x, player1y, player1z = getElementPosition ( player1 ) player2x, player2y, player2z = getElementPosition ( player2 ) themarker = createMarker ( getDistanceBetweenPoints3D ( player1x, player1y, player1z, player2x, player2y, player2z ) ) setSoundVolume(themarker,2) setSoundMaxDistance(themarker, 200) if ( source =~ themarker ) then cancelEvent () end end ) end تمام كدا
-
أخوي أنا لسه عارف موضوع الفويس شات مؤخراً طبيعي تشوف مني حاجات زي كدة
-
addEventHandler( 'onPlayerVoiceStart', root, function() player1x, player1y, player1z = getElementPosition ( player1 ) player2x, player2y, player2z = getElementPosition ( player2 ) if math.floor( getDistanceBetweenPoints3D ( player1x, player1y, player1z, player2x, player2y, player2z ) = 5 ) then اخي وقفت هنا ومش عارف أكمل
-
طيب هوا شرح getDistanceBetweenPoints3D سيرفر ولا كلينت ؟؟
-
ماشي بس تفتكر حتفدني ب أيه
-
أخي أنا مش عارف أتعامل مع الـ math.floor ممكن توضيح عنها
