Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. ينقل إلى القسم العام
  2. حطيته كلينت ولا سيرفر ذا ما يغير الواقع ان الكود نفسه خرابيط و خطأ كامل
  3. بالكلينت عندك ايند زيادة و السيرفر خرابيط كله خطأ
  4. ينقل إلى قسم البرمجة
  5. ينقل إلى قسم البرمجة
  6. plr تأكد انك معرف local Pos = { {2256.3, -32.6, 25.855}, {202.388, -171.7, 1.58}, {1659.88, -2750.8, 5.61}, {-545.02, -188.78, 78.4}, {-425.85, -438.46176, 17.12} } local x, y, z = unpack(Pos[math.random(#Pos)]) marker[plr] = createMarker(x, y, z ,"checkpoint", 5, 255, 0, 0)
  7. No one asked your opinion You posted on a public forum which mean you're asking for EVERYONE opinions. Don't want it, don't post. Your code not even close to be in working condition. Let's analyze the first 13 lines of your server side code. At line 1 you created a marker but without assigning a variable for it, also you didn't put the marker size argument. At line 2 you added the event onMarkerHit and attached it to undefined variable 'myMarker' and function does not exist 'MarkerHit'. At line 3 you have created the function 'MarkerHit', yet you have used it at line 2 that's why it considered as not exist. At line 4 you tried to get the model of the source, the source here is the marker and markers don't have model. At line 5 you compared the variable 'model' but you was getting the marker model and as been said, markers don't have model and it will return nil and it will never pass the comparison as nil does not equal to zero! At line 6 Dim and player is not defined. At line 7 thePlayer is not defined. At line 8 you didn't put a player element, visibleTo argument. Also you put 4 numbers for the color but the function require 3 only (r, g, b). Line 9 is nonsense. At line 10 you used elseif without the condition. There's 'end' missing. Line 13 is the same as line 8 plus its location is nonsense.
  8. root ما له علاقة، الأرقمنت ذا اختياري مو اجباري و إذا ما حطه تلقائي يصير onPlayerChat كان مستخدم بارتمر في الأفنت الأفنت ذا اول بارتمار فيه هو الكلام الي انكتب بالشات ماهو اللاعب الي كتب في الشات هو اللاعب الي كتب في الشات و هو الي المفترض تجيب الأكاونت حقه onPlayerChat السورس في الأفنت
  9. ضايف الأفنت قبل ما تسوي الفنكشن plr مو معرف سيرفر مو كلينت onMissionTimerElapsed الأفنت onClientMissionTimerElapsed افنت الكلينت ذا
  10. onMissionTimerElapsed https://wiki.multitheftauto.com/wiki/Resource:Missiontimer
  11. ينقل إلى قسم البرمجة
  12. لازال فيه ايند زايد انت حاط 3 ايند المفروض تحط 2 ايند واحد حق الفنكشن و الثاني حق الشرط
  13. ^ ايند زايد + ما حطيت كود الماوس
  14. شي طبيعي ما يشتغل لانك جايب العيد بالأقواس و الأرقمنت و ما اعتقد انهم ناشرين مودهم CIT و عموماً الواضح من الكود انه تبع إذا ناشرين مودهم، اثبت ذلك إذا اعطوك تصريح بأستخدام مودهم، اثبت ذلك وإلا سيتم إغلاق الموضوع
  15. ^ fr_client هذا الكود موجود في ملف بس فيه اضافة سطر للتحقق من الدمنشن
  16. leader1 بدل source انت حاط
  17. Be aware getAccountSerial only return the last serial that logged into the account and empty if no one has logged into the account before, so you better off use account data to store the serial.
  18. You're welcome.
  19. It because getCursorPosition return the position in relative (from 0 to 1). Try this: showCursor(true) local sx, sy = guiGetScreenSize() angle = 0 addEventHandler("onClientRender", root, function() --showCursor(true) local x, y = getCursorPosition() angle = findRotation(x*sx, y*sy, 358, 276) outputChatBox(angle) dxDrawImage(358, 100, 100, 100, ":CUPvehicles/files/lock.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(140, 276, 100, 100, ":CUPvehicles/files/engine.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(537, 276, 100, 100, ":CUPvehicles/files/lights.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawImage(358, 276, 100, 100, ":CUPvehicles/files/switch.png", angle, 0, 0, tocolor(255, 255, 255, 255), true) end ) function findRotation( x1, y1, x2, y2 ) local t = -math.deg( math.atan2( x2 - x1, y2 - y1 ) ) return t < 0 and t + 360 or t end
  20. الظاهر انك محمل صفحة موقع التشفير
  21. ايش مواصفات جهازك كاملة ؟ CPU: Intel Core i5-4670 @ 3.4GHz (3.8GHz turbo) Mob: ASRock B85 Pro4 RAM: Mushkin Enhanced Blackline (4x4GB) 9-9-9-24 DDR3 1600MHz GPU: EVGA GTX 650 Ti BOOST 2GB HDD: WD 1TB Blue HDD: WD 320GB Blue SSD: Crucial M500 240GB PSU: Gigabyte Superb 720w * 3 هاردسكات بجهازي
  22. Make sure you have the script server side in the meta. Does the command "loadClothes" work when you use it in F8? The command is in server side or client side?
×
×
  • Create New...