Mysql OnPlayerDisconnect
#1

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    mysql_format(Handler, szQuery, "UPDATE `account` SET Money = %d, Level = %d WHERE Username` = '%e'", GetPlayerMoney(playerid), User[playerid][Level], pName(playerid));
    printf("Data of player %s has been updated", pName(playerid));
    return 1;
}
Anyone know why this is being ran ? It says data of player was updated, but the whole update format never happens, how can i fix this ?
Reply


Messages In This Thread
Mysql OnPlayerDisconnect - by Abreezy - 09.08.2011, 02:38
Re: Mysql OnPlayerDisconnect - by Donya - 09.08.2011, 02:40
Re: Mysql OnPlayerDisconnect - by PrawkC - 09.08.2011, 03:01
Re: Mysql OnPlayerDisconnect - by Abreezy - 09.08.2011, 03:04
Re: Mysql OnPlayerDisconnect - by Abreezy - 09.08.2011, 03:16
Re: Mysql OnPlayerDisconnect - by Snipa - 09.08.2011, 03:23
Re: Mysql OnPlayerDisconnect - by [NoV]LaZ - 09.08.2011, 03:28
Re: Mysql OnPlayerDisconnect - by Abreezy - 09.08.2011, 03:31
Re: Mysql OnPlayerDisconnect - by [NoV]LaZ - 09.08.2011, 03:35
Re: Mysql OnPlayerDisconnect - by [L3th4l] - 09.08.2011, 03:37
Re: Mysql OnPlayerDisconnect - by Grim_ - 09.08.2011, 04:36

Forum Jump:


Users browsing this thread: 7 Guest(s)