Use or Not?
#1

In mysql R40 is no longer in need of strings for updates query?
Exemple,
R33+:
Код HTML:
new string [50];
mysql_format(SQLCon, string, sizeof(string), "UPDATE `players` SET `Clans`=-1 WHERE `user`='%s'", pName(playerid)),
mysql_tquery(SQLCon, string);
R40+:
Код HTML:
mysql_tquery(g_Sql, "UPDATE `players` SET `Clans`=-1 WHERE `user`='%s'", pName(playerid));
Reply
#2

Sure it is...you just did the wrong usage...look parameters:

https://sampwiki.blast.hk/wiki/MySQL/R40#mysql_tquery
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)