Quote:
Originally Posted by kovac
You have put ) instead of " and forgot ,
PHP 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);
|
You have one extra comma ...'%s'", x, ,y ,z ,pName);