MySQL doesn't save
#9

Quote:
Originally Posted by x96664
Посмотреть сообщение
How actually to do it ?
pawn Код:
format(query, sizeof(query), "UPDATE players SET Health = %.1f, Armor = %.1f, Interior = %i, VW = %i, Skin = %i, X = %.1f, Y = %.1f, Z = %.1f, A = %.1f WHERE Name = '%s'", sHealth, sArmor, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid), GetPlayerSkin(playerid), sX, sY, sZ, sA, gName);
print(query);
Copy the output, add ` ` around the fields' name and execute it to phpMyAdmin > select database, select table > SQL > paste > Go!
Reply


Messages In This Thread
MySQL doesn't save - by x96664 - 26.09.2013, 08:38
Re: MySQL doesn't save - by Konstantinos - 26.09.2013, 10:06
Re: MySQL doesn't save - by zT KiNgKoNg - 26.09.2013, 10:10
Re: MySQL doesn't save - by Konstantinos - 26.09.2013, 10:12
Re: MySQL doesn't save - by zT KiNgKoNg - 26.09.2013, 10:24
Re: MySQL doesn't save - by x96664 - 26.09.2013, 10:36
Re: MySQL doesn't save - by Konstantinos - 26.09.2013, 10:41
Re: MySQL doesn't save - by x96664 - 26.09.2013, 11:10
Re: MySQL doesn't save - by Konstantinos - 26.09.2013, 11:22
Re: MySQL doesn't save - by x96664 - 26.09.2013, 12:57

Forum Jump:


Users browsing this thread: 3 Guest(s)