Have you tried changing the parameter name. I think thereās something in SQL where you canāt have a parameter and column with the same name. So, try something like
MySQL.Async.fetchAll("SELECT * FROM user_vehicle WHERE identifier = @playerID",{['@playerID'] = getPlayerID(source)}
The output in the server console doesnāt show that it replaced it, but the query runs as if it did. This isnāt an issue. If you arenāt getting return values, then there is something else wrong with your query. Also, this probably should have been made as a comment to the original topic because it concerns a specific resource, not FiveM, but idk. ĀÆ_(ć)_/ĀÆ
Also, to Havoc, the column and āparameterā as you called it can be the same because it is handled by the script and the parameter is changed before it ever gets sent to the database.
OK, Iām going to close this as it does seem to be an issue with the addon youāre using and not your query like I originally suspected. To get further help I suggest commenting in the original topic or, create an issue on the github repo for it.
Also, @KennethDev if you want to comment on something I say, can I suggest you either @ me or, quote me so I get the notification .