08.02.2012, 14:50
Hi, i have a problem with my script, it's not saving to table
pawn Код:
stock SaveGlobalLogs( )
{
new
Query [ 200 ],
sBullets = sGlobal [ Bullets ],
sMinutes = sGlobal [ Minutes ]
;
format( Query, sizeof( Query ), "UPDATE `global` (Bullets,Minutes) VALUES(%d,%d)",
sBullets, sMinutes );
mysql_query ( Query );
mysql_free_result ( );
return true;
}