Untitled

By Wet Bongo, 6 Years ago (2013-03-09 18:05:05), written in Plain Text, viewed 376 times.
URL https://paste.godclan.hu/view/7kvnd6A7 Embed
Download Paste or View RawExpand paste to full width of browser
  1. function marker ()
  2. jump2 = createMarker(3612.3000488281,-985.40002441406,310.39999389648, "cylinder", 5, 0, 250, 0, 255)
  3. addEventHandler ( "onClientMarkerHit", getRootElement(), jump )
  4. end
  5.  
  6. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), marker )
  7.  
  8. function jump ()
  9.         if source ~= jump2 then
  10.         local localPlayer = getLocalPlayer ( )
  11.                 setElementVelocity (vehicle ,speedx+2, speedy+0, speedz+2)
  12.         end
  13. end

Reply to "Untitled"

Here you can reply to the paste above