Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/06/19 in all areas

  1. عيد مبارك وكل عام و أنتم بخير , نسأل الله أن يعيده على المسلمين بالخير واليُمْنِ والبَركات
    3 points
  2. Works, thank you so much
    1 point
  3. for i = 1, #playerTable.player.savedcols do local saved_col = playerTable.player.savedcols[i] if saved_col == playerTable.player.colshape then -- finding it playerTable.player.colshape = playerTable.player.savedcols[(i + 1) <= #playerTable.player.savedcols and (i + 1) or 1] -- set new col break end end I still not understand why you use the ~= operator. So I left that one out for now. This code will search for the actual col. Trigger: Matching Action: move to the next one. @majqq
    1 point
  4. I found the solution, it seems that the map editor treats custom elements as objects (even if they are represented as vehicles or whatever) and rotations are different between objects and vehicles, so you need to convert the rotation from 'object format' to 'vehicle format'. One way to do that is creating a dummy object and setting its rotation to your custom element rotation, and then do getElementRotation(dummyObject, 'ZYX') to get the same rotation in 'vehicle format' (it's called ZYX format actually, and ZXY is for objects in case you wanna know)
    1 point
  5. Do you mean moving the first colshape to last position in the table? And cycle that. Or do you mean going over the index from any given index: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, etc. Or start cycle the index at the point where they match? 1, 2, 3, 4 = matching, 5, 6, 7, 8 ,9 10 Starting the cycle at index 4. 5, 6, 7, 8, 9, 10, 1, 2, 3 (stop)
    1 point
  6. راجع الدرس هذا WiFi شرح قواعد البيانات لـ
    1 point
  7. local d1 = dxCreateTexture("Gang1.png") local d2 = dxCreateTexture("Gang2.png") local d3 = dxCreateTexture("Mafia1.png") addEventHandler("onClientRender",root, function() x1, y1, z1 = 184, 1915, 17 dxDrawMaterialLine3D(x1, y1, z1+3.6, x1, y1, z1+2,d1, 2.5) x2, y2, z2 = 172, 1888, 20 dxDrawMaterialLine3D(x2, y2, z2+3.6, x2, y2, z2+2,d2, 2.5) x3, y3, z3 = 203, 1874, 17 dxDrawMaterialLine3D(x3, y3, z3+3.6, x3, y3, z3+2,d3, 2.5) end)
    1 point
  8. 1 point
  9. Not sure! This post has some interesting information: http://www.rage3d.com/board/showthread.php?t=33937078 Namely, this bit: The first bit implies that there may not be any point, and the second bit implies that there may be support. It also says this: .. but. when you find out, do come back and let us know! Hope you enjoy the new PC!
    1 point
  10. خطوة جيده منك ولكن لأ انصحك بان تقوم بإستنساخ الفكرة وتقوم بنشرها لأن هذا ليس بـ إبداع , الإبداع هو ان تقوم بإضافة افكار من راسك علي السكربت ليصبح عملك افضل بكثير ومرغوب اكثر من العمل الاصلي نفسه وهذه مجرد نصيحه لك بالمستقبل وبالتوفيق لك يابطل
    1 point
×
×
  • Create New...