Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Make ped drive a car

Featured Replies

hi! i want a ped to drive a  car. i have this code but it doesn't work. The car gets stopped in the spawn point. Thanks for the support

this.suspect.Tasks.DriveToPosition(car, spawn1, 30, VehicleDrivingFlags.FollowTraffic, 1000);

.

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

  • Author
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

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.