Raised This Month: $ Target: $400
 0% 

[help] Sql Lags ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
katna
Senior Member
Join Date: May 2010
Old 01-17-2011 , 04:42   Re: [help] Sql Lags ?
Reply With Quote #3

Code:
public LoadStats(id)
{
	new errorCode,Handle:MySqlConnection = SQL_Connect(g_SqlTuple,errorCode,g_Error,charsmax(g_Error))
    
	if(g_SqlTuple == Empty_Handle)
		set_fail_state(g_Error)
        
	new szSteamId[32]
	new Data[1]
	new szTemp[512]
	
	get_user_authid(id, szSteamId, charsmax(szSteamId))
	Data[0] = id
	
	format(szTemp,charsmax(szTemp),"SELECT * FROM `money` WHERE (`money`.`steamid` = '%s')", szSteamId)
	
	SQL_ThreadQuery(g_SqlTuple,"register_client",szTemp,Data,1)
	SQL_FreeHandle(MySqlConnection)
}
katna is offline
 



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 02:11.


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