Jump to content

Ped following player


Blueman

Recommended Posts

Posted

I want to make a ped follow a player of the same team. :|

I've never really used peds so I don't really know to much about peds.

It's amazing what people will sell nowadays $500 for an animated gif :|

1333328066.png

Posted

If you want to script the ped yourself:

setPedControlState to make the ped walk.

setPedCameraRotation to make the ped face the right direction.

Also, remember that these are client-side functions, so you'll need some server-client communication to keep the ped actions synced. I'd recommend using element data for this (for example, to set the element which the ped will follow).

-

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