Jump to content

Rasikh1214

Members
  • Posts

    2
  • Joined

  • Last visited

Rasikh1214's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Plz Just Reply I just Convery The NyanCat script And Edit Somelines and Maked the tron tail light but the vehicles doesn't destroy when the touch other player's Line
  2. Guys Please help me I just make Tron light Tail but Like in Tron movie and Game the Vehicle Doesn't Destry when Touch a Line Of Other player Light cycle Wait i Give you The Script its the Client.LUA : -- Save the points linePointX = {} linePointY = {} linePointZ = {} addEventHandler("onClientResourceStart", getRootElement(), function() playSound("http://3a.media.v4.skyrock.net/music/3af/0b2/3af0b22c9b39c5a660fca11e00908225.mp3", false) setTimer( function() if isPedInVehicle(getLocalPlayer()) then local vehicle = getPedOccupiedVehicle(getLocalPlayer()) local velX, velY, velZ = getElementVelocity(vehicle) local theSpeed = (velX^2 + velY^2 + velZ^2)^(0.5) * 1000 if not (theSpeed == 10)then if vehicle then local lX, lY, lZ = getElementPosition(vehicle) if lX and lY and lZ then table.insert(linePointX, lX) table.insert(linePointY, lY) table.insert(linePointZ, lZ-0.5) if(#linePointX > 99999999999)then table.remove(linePointX, 1) table.remove(linePointY, 1) table.remove(linePointZ, 1) end end end end end end, 55, 0) end) -- Draw addEventHandler("onClientRender", getRootElement(), function() for i,d in ipairs(linePointX)do if i then if linePointX and linePointX[i-1] and linePointX[i-2] and linePointX[i-3] and linePointX[i-4] then dxDrawLine3D(linePointX, linePointY, linePointZ, linePointX[i-1], linePointY[i-1], linePointZ[i-1], tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1], linePointX[i-2], linePointY[i-2], linePointZ[i-2], tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3], linePointX[i-4], linePointY[i-4], linePointZ[i-4], tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX, linePointY, linePointZ+0.2, linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.2, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.2, linePointX[i-2], linePointY[i-2], linePointZ[i-2]+0.2, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3]+0.2, linePointX[i-4], linePointY[i-4], linePointZ[i-4]+0.2, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX, linePointY, linePointZ+0.4, linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.4, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.4, linePointX[i-2], linePointY[i-2], linePointZ[i-2]+0.4, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3]+0.4, linePointX[i-4], linePointY[i-4], linePointZ[i-4]+0.4, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX, linePointY, linePointZ+0.6, linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.6, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.6, linePointX[i-2], linePointY[i-2], linePointZ[i-2]+0.6, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3]+0.6, linePointX[i-4], linePointY[i-4], linePointZ[i-4]+0.6, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX, linePointY, linePointZ+0.8, linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.8, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1]+0.8, linePointX[i-2], linePointY[i-2], linePointZ[i-2]+0.8, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3]+0.8, linePointX[i-4], linePointY[i-4], linePointZ[i-4]+0.8, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX, linePointY, linePointZ+1, linePointX[i-1], linePointY[i-1], linePointZ[i-1]+1, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-1], linePointY[i-1], linePointZ[i-1]+1, linePointX[i-2], linePointY[i-2], linePointZ[i-2]+1, tocolor(0, 254,255, 255), 25) dxDrawLine3D(linePointX[i-3], linePointY[i-3], linePointZ[i-3]+1, linePointX[i-4], linePointY[i-4], linePointZ[i-4]+1, tocolor(0, 254,255, 255), 25) end end end end) -------------------------------------------------------------------------------------------------------------------------------------------------- and Here's The meta.xml : -
×
×
  • Create New...