Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/02/21 in all areas

  1. Speedometr A beautiful speedometer that is written in JS / HTML Author of the idea: Tameem Imamdag There is a small flaw when you teleport somewhere from the car, white color may appear, but when you get out of the car - everything is fine. I don't really understand how this can be fixed Download: *Link for community*
    1 point
  2. Hello and welcome to the forums! You can use MTA's anti-cheat to prevent such things. This guide might be useful to you: link
    1 point
  3. Add this at the top of the script local markerTable = {}; Replace this themarker = createMarker ( m[1], m[2], m[3]-1, "cylinder", 2, 25, 205, 100, 150 ) with this markerTable[#markerTable + 1] = createMarker ( m[1], m[2], m[3]-1, "cylinder", 2, 25, 205, 100, 150 ) and this addEventHandler ( "onClientMarkerHit", resourceRoot, function(hitPlayer) if ( hitPlayer == localPlayer ) and getElementType(hitPlayer) == "player" then for i = 1, #markerTable do if source == markerTable[i] then local x, y, z = unpack(destination[i]); setElementPosition(hitPlayer, x, y, z); end end end end); --You should make sure that you have as many destinations as markers not to get errors, keep in minde this is a sipmle way around it can be done way better!
    1 point
  4. https://www.youtube.com/watch?v=v7J_F0lJzoI&feature=youtu.be
    1 point
×
×
  • Create New...