Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few functions that would be helpful #22

Open
Patrinus opened this issue Aug 28, 2016 · 3 comments
Open

Few functions that would be helpful #22

Patrinus opened this issue Aug 28, 2016 · 3 comments
Labels

Comments

@Patrinus
Copy link

Patrinus commented Aug 28, 2016

  • 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?
@pnwparksfan
Copy link

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.

@Stealth22PD
Copy link
Collaborator

Stealth22PD commented Aug 29, 2016

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.

@Patrinus
Copy link
Author

Patrinus commented Sep 1, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants