26.09.2013, 10:10
Okay here's an example that you could take and use for the script you're using or creating. (Taken from my custom script)
pawn Код:
stock SaveStats(playerid)
{
format(Query,sizeof(Query),"UPDATE `Accounts` SET `Time` = '%s' WHERE `Username` = '%s'",
GetTime(),
GetOriginalName(playerid));
mysql_query(Query);
mysql_free_result();
return 1;
}