There's my problem, i'm trying to add a query execute when storage close, but i'm still new with sources and changing it and came here to ask for help.
I need to get the value of the variable 'char_fst' inside char table, put it in an usable variable in source and do an update inside the storage table using the result get from the char table.
I already change the query than i will use, but i don't know how to get the value from char and use inside this query.
if( SQL_ERROR == Sql_Query(sql_handle, "UPDATE `storage` SET `char_id`='%d' WHERE `char_id`='%d'", char_id, char_fst) )
Question
rodrigolujan
Hi guys \o/
There's my problem, i'm trying to add a query execute when storage close, but i'm still new with sources and changing it and came here to ask for help.
I need to get the value of the variable 'char_fst' inside char table, put it in an usable variable in source and do an update inside the storage table using the result get from the char table.
I already change the query than i will use, but i don't know how to get the value from char and use inside this query.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.