Raised This Month: $ Target: $400
 0% 

[HELP] Saving Player steamid to SQL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 06-30-2018 , 04:53   Re: [HELP] Saving Player steamid to SQL
Reply With Quote #1

I didn't really understand what the problem is, but maybe this is the cause?
PHP Code:
    //we will now select from the table `tutorial` where the steamid match
    
format(szTemp,charsmax(szTemp), "SELECT * FROM `tutorial` WHERE (`tutorial`.`nameid` = '%s')"szName)
    
SQL_ThreadQuery(g_SqlTuple"register_client"szTempData1
According to both the comment and just logical thinking, you want to check for the SteamID here, but you're actually checking for the name.

If that's not it, could you please explain what you mean by "In the following code, the information is not saved immediately and the information of other players is added." or what the exact issue is with the code.
Kushfield is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode