08.02.2015, 23:24
Thank you PPC for your long and very educating answer!
Everything is now clear to me, except this
Why did Vince use a semicolon in his format?
I think it's not a typo
Everything is now clear to me, except this
Код:
mysql_format(userDB, mysqlquery, sizeof(mysqlquery), "INSERT INTO player_weapons VALUES (%d, %d, %d) ON DUPLICATE KEY UPDATE ammo = %d;", PlayerInfo[playerid][pSQLID], weaponid, ammo, ammo);
I think it's not a typo