19.10.2013, 11:09
Ah, I got it.
The correct native for mysql_query is:
The correct native for mysql_query is:
pawn Код:
native mysql_query(conhandle, query[]);
pawn Код:
new var[100];
format(var, sizeof(var), "UPDATE `vehicles` SET `CarID`='%d' WHERE `CarID`='%d'", vInfo[vehicleid][vCariD], vInfo[vehicleid][vCariD]);
mysql_query(dbHandle, var); // Your connection handle variable will come here.