Jump to content

Make ped drive a car


7katwoal12

Recommended Posts

Don't know why you've got you're accepted distance to 1000, just try it with the parameters given:

suspect.Tasks.DriveToPosition(carToDriveWith, PositiontoDriveTo, SpeedToDriveAt,
    VehicleDrivingFlag, DistanceToStopFrom);

 

if it still doesn't work show us your code.

Edited by NoNameSet
Link to comment
Share on other sites

17 minutes ago, NoNameSet said:

Don't know why you've got you're accepted distance to 1000, just try it with the parameters given:


suspect.Tasks.DriveToPosition(carToDriveWith, PositiontoDriveTo, SpeedToDriveAt,
    VehicleDrivingFlag, DistanceToStopFrom);

 

if it still doesn't work show us your code.

I have fixed it thanks. The problem was that the start point and the end point were the same. Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...