Project-Sloth / ps-housing

Advanced housing system for QBCore.
https://discord.gg/projectsloth
Other
334 stars 107 forks source link

Change / Add confirmation for player ID when giving them a buy menu #192

Closed Ghavio1516 closed 2 months ago

Ghavio1516 commented 6 months ago

Describe the bug Hello, i would like to know if you guys could add like a confirmation for the ID section of the player because at the moment the moment i enter 1 number it automatically searches for that person target ID.

lets just say i want to give a house to player with id 13, the moment i clicked 1 on the ID menu it sends the buy menu to player ID 1 which i dont want To Reproduce Steps to reproduce the behavior:

  1. Open /Housing
  2. Click on manage property (already owned / freshly created property)
  3. Input Target ID for finalize sale
  4. See problem

Expected behavior When i input 13, it will not send the buy menu to player ID 1

Screenshots i can see it always triggered the event when i input any number image image image

Additional context

xFutte commented 6 months ago

@Ghavio1516 Good suggestion. Feel free to add it yourself by following this:

Remember that everything has to align with the rest of the styling.

Happy development.

complexza commented 5 months ago

https://github.com/Project-Sloth/ps-realtor/pull/33 You can check this out / update your realtor