Untitled

From Wet Bongo, 11 Years ago, written in Plain Text, viewed 756 times. This paste will go to meet its maker in 1 Second.
URL https://paste.godclan.hu/view/7kvnd6A7 Embed
Download Paste or View Raw
  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