10.04.2018, 22:16
i have a sql syntax problem there is code:
gives this.
Code:
new Query[256], pName[35]; new Float:x, Float:y, Float:z; GetPlayerName(playerid, pName, 35); GetPlayerPos(playerid, x, y, z); mysql_format(ConnectMySQL, Query, sizeof(Query), "UPDATE `aractrash` SET `tposX` = %f, `tposY` = %f, tposZ = %f, `KullaniciAdi` = %s)x, ,y ,z ,pName"); mysql_tquery(ConnectMySQL, Query);
Code:
error 076: syntax error in the expression, or invalid function call