qbcore-framework / qb-multicharacter

Multi-Character System Used With QB-Core :man: :woman:
GNU General Public License v3.0
32 stars 237 forks source link

[SUGGESTION] Countries list dropdown #175

Closed PedroTeixeira-unP closed 2 years ago

PedroTeixeira-unP commented 2 years ago

In the create character option we have the nationality field. One change I made at the time was to add a dropdown with a list of all countries.

A simple fetch to an api list would give all the countries and make them available for selection.

My suggestion would be to put an option in the config, to get the customizable or non-customizable nationality.

tom-osborne commented 2 years ago

Nice idea. If you have made the change already, could you raise it as a Pull Request rather than an issue?

PedroTeixeira-unP commented 2 years ago

Nice idea. If you have made the change already, could you raise it as a Pull Request rather than an issue?

I have made it to an older version, I can apply it to the current files

PedroTeixeira-unP commented 2 years ago

@tom-osborne https://github.com/qbcore-framework/qb-multicharacter/pull/176 created, please review and feel free to edit