MySQL strange
#1

Код:
new slot[12];
format(slot, sizeof(slot), "%s", GetPlayerAvailableSlot(playerid));
SetPVarInt(playerid, slot, vehicleid);
format(message, sizeof(message), "UPDATE members SET %s='%d' WHERE Username = '%s'", slot, vehicleid, getname[playerid]);
printf(message);
mysql_query(connectionHandle, message);
That printf:
Quote:

UPDATE members SET VEHICLE2='177' WHERE Username = '[A]AfikAtashga[S]'

In the mysql it's always write 127 - it's very strange.

Thanks for helping.
Reply


Messages In This Thread
MySQL strange - by AfikAtashga - 23.06.2014, 13:05
Re: MySQL strange - by AfikAtashga - 24.06.2014, 12:53
Re: MySQL strange - by kamiliuxliuxliux - 24.06.2014, 13:20
Re: MySQL strange - by AfikAtashga - 24.06.2014, 13:32
Re: MySQL strange - by Zex Tan - 24.06.2014, 13:56
Re: MySQL strange - by Vince - 24.06.2014, 15:07
Re: MySQL strange - by AfikAtashga - 24.06.2014, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)