Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/09/21 in all areas

  1. Maps Link (1 File) https://www.mediafire.com/file/sgkrx2vdg6fin22/HaCKaR3_2021_FIX_%26_New_Maps.zip/file [DM] HaCKaR3 Vol.1 - Golden ✓ Video ✓ [DM] HaCKaR3 Vol.2 - Space My Name ✓ Video ✓ [DM] HaCKaR3 - Easy ✓ Video ✓ [DM] HaCKaR3 - Easy II ✓ video [DM] HaCKaR3 - Easy III ✓ video ✓ [DM] HaCKaR3 - Brutal "" Video " [DM] HaCKaR3 - Anxious ✓ Video ✓ [DM] HaCKaR3 - Anxious II ✓ Video ✓ [DM] HaCKaR3 - Anxious III ✓ Video ✓ [DM] Up Tower By HaCKaR3
    1 point
  2. I can surely help you with the coloring question. For that you should create a local copy of the code inside your MTA resource project and modify it in the following way: Insert this at the top: local colors_cicled = { tocolor( 80, 80, 80, 200 ), tocolor( 110, 110, 110, 200 ) }; Then go to line 317 and replace it with the following: dxDrawText ( cData[iIndex]["text"], x, y, cData.info.width + x, ( 30 % data.h ) + y, colors_cicled[ ( ( iIndex - 1 ) % #colors_cicled ) + 1 ], FIT_MODE and ( 1 * SCALE ) or 1, "default-bold", "center", "center", true, true, data.pg, false, true ); About your other demand: I refuse to do it for free, the code does resemble more of an artistic masterpiece than a scientifically authenticable work.
    1 point
  3. 1 point
  4. By the way, if that's all the codes are, keys will not be assigned for newly joined players, so add this line. addEventHandler("onPlayerJoin", root, function() bindKey(source, "l", "down", "vehiclelights") end )
    1 point
  5. local zCoordinates = { {-2411.49, -608.29, 131.62, 18.33, 12.49, 1.92}, {-2430.09, -607.45, 131.56, 5.55, 7.24, 1.90} } local zones = {} for i,v in ipairs(zCoordinates) do local theZone = createColCuboid(zCoordinates[i][1], zCoordinates[i][2], zCoordinates[i][3], zCoordinates[i][4], zCoordinates[i][5], zCoordinates[i][6]) table.insert(zones, theZone) end addEventHandler("onColShapeHit", root, function(element) for i=1,#zones do if(source == zones[i]) then if getElementType(element) == "ped" or getElementType(element) == "player" or getElementType(element) == "vehicle" then if getElementAlpha(element) == 255 then setElementAlpha(element, 130) setElementCollisionsEnabled(element, false) end end end end end) addEventHandler("onColShapeLeave", root, function(element) for i=1,#zones do if(source == zones[i]) then if getElementType(element) == "ped" or getElementType(element) == "player" or getElementType(element) == "vehicle" then if getElementAlpha(element) == 130 then setElementAlpha(element, 255) setElementCollisionsEnabled(element, true) end end end end end) try this
    1 point
×
×
  • Create New...