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.

Functions.RequestSuspectTransport not working

Featured Replies

well the title says it.. when i put functions.requestsuspecttrasnport it just says "Suspect is neither fully arrested nor idle." and i have no clue what to do... so can someone help me 🙂 thanks! 

  • Management Team

This was a change related to an issue found by @GTAbear in this thread here: https://www.lcpdfr.com/forums/topic/125805-finding-the-precise-id-for-a-rageped/

 

I have fixed an issue in the API to prevent you from calling suspect transport on peds that cannot be transported just yet - most likely because they are not fully arrested yet. What kind of peds are you trying to call this on? The new logic should allow you to call for transport if the suspect has been arrested by the player and is being transported by you (will cancel your transport ability) or if the suspect is scheduled to be picked up by AI (will cancel that request). Peds that are not yet arrested at all should also work fine.

 

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

  • Management Team

If the peds are enemies and hostile towards the player/police, it would be best to add them to a chase so that the AI can deal with them based on their actions. The transport AI would not be able to handle hostile peds.

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

  • Management Team

If peds in a chase start attacking cops, the cops will attack them before trying to arrest. What was your expectation of Functions.RequestSuspectTransport? As I said, it will not work well for peds that are currently fighting. They should surrender first.

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

  • Author

well in script i have written like if suspect is cuffed then it will do Functions.RequestSuspectTransport.. so if ped is cuffed then it should mean that suspect is surrended

  • Management Team

I suspect something funny is going on with your ped, can you try it on a newly spawned ped? If that works, see what you do to the ped that later on prevents it from being transported.

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

1 hour ago, herrahaamu said:

nope its not working.. in console it just says "Suspect is neither fully arrested nor idle."

Is the suspect kneeling?

The newly updated suspect-transport work fine for me:
This is my code:

Spoiler
           //Call transport
                        if (Game.IsKeyDown(System.Windows.Forms.Keys.NumPad2))
                        {
                            Ped purper = null;
                            Ped[] suspectGroup = Game.LocalPlayer.Character.GetNearbyPeds(1);
                            if (suspectGroup[0] != null)
                            {
                                purper = suspectGroup[0];
                                Game.LogTrivial("######### Signal from Transport ");
                                Functions.RequestSuspectTransport(purper);
                            }

                        }

 

A special situation exists when you encounter a criminal in a car without a callout.
In that arrest-sequence there is no effect from pressing E, but That criminal will be collected by suspect-transport, if he shows animation 'Hands-up', even without being positioned kneeling on the ground!
OBS! Both the code and the described behaviour is without any other plugins, so if you have STP or other arrest-changing plugins, then the behaviour could be different.

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

On 1/13/2023 at 8:03 PM, herrahaamu said:

could it be it that suspect should be kneeling

Yes!
It is even written on screen

Suspect must be kneeling for transport1 -Except the case i described above

-------------
In case you do not know
To get the suspect to kneel, you tab Q after you have cuffed the suspect
(if you hold Q you will frisk the suspect)

Edited by GTAbear
added func of Q

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

15 hours ago, herrahaamu said:

okay, but if i want to make automatic transport calling then how im going to make if there is not some if suspec is kneeling or something like that?

Afaik you do need to do the arrest-sequence and have the suspect kneeling, then you can call the transport without having to use any menu, with the code i gave you.
Total automated arrests are not possible, after all.. YOU are playing the game : )

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

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.