Im writing a plugin, and I cant seem to get my sql querys to return any results.
Code:
new name[32],authid[35]
get_user_authid(id,authid,35)
get_user_name(id,name,32)
new query[350]
format(query,350,"SELECT steamid,tag FROM `%s` WHERE steamid = '%s' ",sql_table,authid)
new Result:result = dbi_query(dbc,query)
I created a log_amx line with the same variables below. It's picking up the table name fine. That's defined at the top of the document. My problem is trying to get the authid to show up with the users steam id in the query.
Any ideas?
__________________