Re: Re: Re: Re: Untitled

From Wet Peafowl, 11 Years ago, written in Lua, viewed 929 times. This paste is a reply to Re: Re: Re: Untitled from Melodic Hornbill - view diff
URL https://paste.godclan.hu/view/f9R5GAHt Embed
Download Paste or View Raw
  1. createVehicle ( 515,-3610.8999023438,842.5,48.900001525879,18.748168945313,0,0)
  2. createVehicle ( 584,-3604.1000976563,839.29998779297,48,358.857421875,335.48950195313,90)
  3.  
  4. function marker()
  5.     markers1 = createMarker(-3607.1999511719,850.59997558594,55.200000762939, "cylinder", 20, 0, 0, 0,0)
  6.     markers2 = createMarker(-3607.1999511719,812.40002441406,42.400001525879, "cylinder", 20, 0, 0, 0,0)
  7.  
  8.     addEventHandler ( "onClientMarkerHit", getRootElement(), main )
  9.  
  10. end
  11.  
  12. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), marker )
  13.  
  14. function main ( thePlayer )
  15.     if source == markers1 then
  16.         local vehicle = getPedOccupiedVehicle ( thePlayer )
  17.         setGameSpeed(0.1)
  18.         setGravity (0.005)
  19.         createExplosion (-3607,839.09997558594,46.599998474121,2,true,-5.0,false )
  20.         createExplosion (-3610,839.09997558594,46.599998474121,2,true,-5.0,false )
  21.         createExplosion (-3604,839.09997558594,46.599998474121,2,true,-5.0,false )
  22.     end
  23.     if source == markers2 then
  24.         local vehicle = getPedOccupiedVehicle ( thePlayer )
  25.         setGameSpeed(1)
  26.         setGravity (0.008)
  27.     end
  28. end
  29.  
  30. -- oooooooooooooo  innentol nezd ooooooooooooooooooooooo
  31. function makegirls()
  32.  
  33.     if isPlayerInVehicle ( thePlayer ) then
  34.         local playerVehicle = getPlayerOccupiedVehicle ( thePlayer )
  35.                
  36.         isElementFrozen ( playerVehicle )
  37.         -- setPedAnimation ( ped1, "STRIP", "PUN_CASH")
  38. end
  39. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makegirls )
  40.  
  41. function makegirls02()
  42.     ped1 = createPed ( 140, -3606.8999023438,968.90002441406,73.199996948242 )
  43.     setPedRotation(ped1,0)
  44. end
  45. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makegirls02 )

Reply to "Re: Re: Re: Re: Untitled"

Here you can reply to the paste above