The function as previously implemented did not make sense, since the user can have more than one character, and it would always only return the first record found by the license. Instead, search to see if any player is online and has the license specified in the search.
Description
Checklist
[X ] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
The function as previously implemented did not make sense, since the user can have more than one character, and it would always only return the first record found by the license. Instead, search to see if any player is online and has the license specified in the search.
Description
Checklist