Re: Re: Re: Re: Untitled

By Sloppy Parakeet, 6 Years ago (2013-03-12 19:52:56), written in Plain Text, viewed 435 times. This paste is a reply to Re: Re: Re: Untitled by Botched Kangaroo
URL https://paste.godclan.hu/view/aeulPbMC Embed
Download Paste or View RawExpand paste to full width of browser
  1.  
  2. function makePed()
  3.    ped1 = createPed ( 140, 4927.2998046875,-1973.4000244141, 2 )
  4.    ped2 = createPed ( 140, 4913.7998046875,-1912.0999755859, 1.7999999523163 )  
  5.    
  6. function position()  
  7.    if source == ped1 then
  8.         local ped1 =  getElementPosition(ped1)
  9.         setElementVelocity ( ped1, 4909.7998046875,-1965.5,1.7999999523163)
  10.         setPedWalkingStyle ( ped1,"MOVE_SEXYWOMAN",132)
  11.    end
  12.    if source == ped2 then
  13.     local ped2 =  getElementPosition(ped2)
  14.         setElementVelocity ( ped2, 4909.8999023438,-1945.8000488281,1.7999999523163)
  15.             setPedWalkingStyle ( ped2,"MOVE_SEXYWOMAN",132)
  16.         end
  17. end
  18. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), makePed )
  19. addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), position )
  20. end

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

Here you can reply to the paste above