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.

Forcing suspect to stay in vehicle

Featured Replies

Suspects keeps abandoning tank vehicles even when it's not stuck.

Tested with with wheeled APC and it doesn't have this issue.  Interestingly, SWAT using tank vehicles doesn't abandon their vehicle and can fire vehicle weapon automatically. 

 

Is there a command for suspect to stay in vehicle?  Tried to use SET_PED_COMBAT_ATTRIBUTES, but it doesn't have leave vehicle flag available. 

 

 

  • Author

 I thought there was another flag that forces it to stay in vehicle and forgot could just set BF_CanLeaveVehicle to false.

 

Tried NativeFunction.Natives.SET_PED_COMBAT_ATTRIBUTES(ped, 3, false);  but they still disembark tank.

I also have

NativeFunction.Natives.SET_PED_COMBAT_ATTRIBUTES(ped, 52, true);
NativeFunction.Natives.SET_PED_CONFIG_FLAG(ped, 29, false);
NativeFunction.Natives.SET_PED_CONFIG_FLAG(ped, 391, false);

 

Edited by rp0123

  • Management Team

I am not sure unfortunately, given the fact that you said it works for swat it makes me think it is vehicle combat flags related. Perhaps you can keep digging and check more flags.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

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.