qbcore-framework / qb-cityhall

City Hall Script For QB-Core
GNU General Public License v3.0
25 stars 186 forks source link

[BUG] Buying Weapon License kicks players for "Attempted Exploit Abuse" #84

Closed Broadigy closed 1 year ago

Broadigy commented 1 year ago

Describe the bug As the title reads, for some reason players cannot purchase a physical copy of their weapons license from City Hall. If they try, FiveM somehow sees this as an attempted exploit and boots them from the server.

To Reproduce Steps to reproduce the behavior:

  1. Go to city hall
  2. Click on ped who sells licenses
  3. Try to buy a weapons license
  4. Server instantly boots you with the message "Disconnected from Server, attempted exploit abuse."
tom-osborne commented 1 year ago

This is likely to be because of distance checks, which are usually set to 2.5 units by default, you can increase them a little to prevent it happening.

parham-ebrahim commented 1 year ago

Im having the same issue, i have increased the distance in client, and also tired using target. but still im getting kicked. any solutions?

lorenzocarras commented 1 year ago

I removed the "cityhallCoords" part of the event. It happened to me when I was assigned a job.

github-actions[bot] commented 1 year ago

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