brouznouf / fivem-mysql-async

MySql Async Library for FiveM
MIT License
111 stars 106 forks source link

Delete from execution not returning #114

Closed ReckerXF closed 4 years ago

ReckerXF commented 4 years ago

So I am having an issue where when the Async execute (RemoveQuery) returns, it does not return to whatever is in the function.

Here is an example: https://hastebin.com/gaqiguxidu.rb

Basically whenever the row is deleted it is supposed to say "target has been de-whitelisted from type"!

My RemoveQuery is 'DELETE FROM leo_whitelist WHERE steamid_hex = @target'

Sorry if I was not clear enough, feel free to drop any questions you may have!