08.02.2015, 14:30
Hi guys!
What's the difference between Pquery and Tquery ?
I read the wiki, but I still don't understand quite well. Can you give me some examples?
* EXTRA QUESTION
I saw Vince doing this in his tutorial for relations between Weapons and User ID
Notice the semicolon ; at the end!
I've never used the semicolon in SELECT querys or anywhere inside " "
Why he used that?
Regards!
What's the difference between Pquery and Tquery ?
I read the wiki, but I still don't understand quite well. Can you give me some examples?
* EXTRA QUESTION
I saw Vince doing this in his tutorial for relations between Weapons and User ID
pawn Код:
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);
mysql_pquery(userDB, mysqlquery); // parallel queries
pawn Код:
ammo = %d;
Why he used that?
Regards!