LSPDFR-API icon indicating copy to clipboard operation
LSPDFR-API copied to clipboard

Few functions that would be helpful

Open Patrinus opened this issue 8 years ago • 3 comments

  • IsPedACop()
  • IsCopInPursuit()
  • RemoveCopFromPursuit()
  • IsPlayerArresting
  • (GetPedPlayerIsArresting)
  • (eg. Set accessor to peds persona variables to more easily change just one feature eg. citations)

Some "bugs" (things that give trouble for me):

  • Player gets stuck to a infinite loop, if tries to open door with passenger being CanBePulledOutOfVehicles == false
  • Cops on foot far away from pursuit get stuck on aiming loop (big problemo to me with partners)
  • Somethings seems to block the melee task, when ped is assigned to melee pursuit suspect?

Patrinus avatar Aug 28 '16 10:08 Patrinus

You should separate out the bugs into separate individual posts, and tag them as bugs. Keep feature requests and bugs separate from each other to allow more accurate tagging and tracking.

pnwparksfan avatar Aug 28 '16 15:08 pnwparksfan

For "IsPlayerArresting", you can write your own by calling GetPedArrestingOfficer, and comparing the result to Game.LocalPlayer.Character.

And yeah, as Parks said, you should separate these into their own posts.

Stealth22PD avatar Aug 29 '16 16:08 Stealth22PD

I added them here, cause they technically aren't bugs, but they create problems when other plugins change variables etc.

Patrinus avatar Sep 01 '16 10:09 Patrinus