Jump to content

setPedControlState works just for the syncer


C0b0ll

Recommended Posts

Hello everybody,

I try to move a ped using setPedControlState.

My problem is that the ped is only moving correctly for the syncer client. For the others, the ped doesn't play any animation and he is teleported each 2 meters...

Here is my client code :

function startForward(mtaPed) 
    setPedControlState(mtaPed, "forwards", true) 
end 
addEvent("startForward", true) 
addEventHandler("startForward", getRootElement(), startForward) 

What is wrong ?

Thanks for your help :).

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...