qbcore-framework/qb-shops

[BUG] / [ENHANCEMENT] Can Break Peds With Cornerselling

Crazy133 opened this issue · 1 comments

Describe the bug
Players can "cornersell" near shop peds and remove their frozen state, the ped will follow the player around until they interact with them and then flee or walk off from the store and remove the shop until qb-shops is restarted.

To Reproduce
Steps to reproduce the behavior:

  1. Have Drugs
  2. Walk into store
  3. Cornersell.

Solution
SetEntityDynamic(ShopPed[k], true)

This is the solution that I've found works, the Ped will ignore the player and can still be interacted with.

This issue has had 60 days of inactivity & will close within 7 days