Lagg (MySQL?)
#7

I do not understand what I have to change.

Quote:

public OnPlayerConnect(playerid)
{
mysql_query("UPDATE 'accounts' SET Status='1' WHERE name='Myname'",THREAD_LOADPLAYER, playerid);
return 1;
}

public OnQueryFinish(query[], resultid, extraid, connectionHandle)
{
switch(resultid)
{
case THREAD_LOADPLAYER:
{
mysql_store_result();
if(IsPlayerConnected(extraid))
{
// ??
}
mysql_free_result();
}
}
return 1;
}

Reply


Messages In This Thread
Lagg (MySQL?) - by Siedler - 09.10.2011, 14:55
Re: Lagg (MySQL?) - by Crystyan12 - 09.10.2011, 14:59
AW: Lagg (MySQL?) - by Siedler - 09.10.2011, 15:00
Re: Lagg (MySQL?) - by Vince - 09.10.2011, 15:04
AW: Lagg (MySQL?) - by Siedler - 09.10.2011, 15:14
Re: Lagg (MySQL?) - by Vince - 09.10.2011, 15:16
AW: Lagg (MySQL?) - by Siedler - 09.10.2011, 15:40
AW: Lagg (MySQL?) - by Siedler - 10.10.2011, 07:02
Re: AW: Lagg (MySQL?) - by Retardedwolf - 10.10.2011, 07:15
AW: Re: Lagg (MySQL?) - by Siedler - 12.10.2011, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)