View Single Post
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 01-30-2013 , 09:46   Re: [Need help] Check if connecting client's steamid is in database
Reply With Quote #6

Like ecca said, threaded queries are the best you can do, although i have some suggestions.
It's important that you don't pass clientindexes to asynchronous callbacks like this one.
Either use getclientserial/getclientfromserial; getclientuserid/getclientofuserid or fetch the steamid in the callback and find the client with the steamid.
If you only want to check if an row with this steamid exists i guess something like this is faster.
Spoiler


Yours sincerey
Impact
__________________

Last edited by Impact123; 01-30-2013 at 10:49.
Impact123 is offline