Jump to content

Is possible to make moving ped?


papam77

Recommended Posts

--------------------------------- 
-- DeeJay v2 -------------------- 
--------------------------------- 
  
function funkce () 
--------------------------------- 
-- Pedové ----------------------- 
--------------------------------- 
setPedCameraRotation ( John, 130.791931 ) 
  
setPedControlState ( John, forwards, true ) 
  
  
  
  
  
  
  
--------------------------------- 
-- Outputy ---------------------- 
--------------------------------- 
outputChatBox ("EAG|#ffffffDeeJay: #ff9900Hello guys", 255,255,255, true ) 
end 
addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()), funkce ) 

Ped name = John

But why he isn't moving?

Link to comment
--------------------------------- 
-- DeeJay v2 -------------------- 
--------------------------------- 
  
function funkce () 
--------------------------------- 
-- Pedové ----------------------- 
--------------------------------- 
setPedCameraRotation ( John, 130.791931 ) 
  
setPedControlState ( John, "forwards", true ) 
  
  
  
  
  
  
  
--------------------------------- 
-- Outputy ---------------------- 
--------------------------------- 
outputChatBox ("EAG|#ffffffDeeJay: #ff9900Hello guys", 255,255,255, true ) 
end 
addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()), funkce ) 

ped.png

And doesn't work.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...