Line too long
#4

Quote:
Originally Posted by Deal-or-die
Посмотреть сообщение
Try this
pawn Код:
format(query, sizeof(query), "INSERT INTO data (user, password, IP, score, money, kills, deaths, registered, loggedin, level, cookies, cakes, biscuits, icecreams, YG, unlimitedb, quickweapon, vgoto, playerfly, TP, YGFunction1) VALUES('%s', SHA1('%s'), '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)",pname,passwordstring,IP);
mysql_query(query);
format(query, sizeof(query), "INSERT INTO data (YGFunction2, YGFunction3, YGFunction4, YGFunction5, YGFunction6, Bank, weed, Condoms, inalcatraz, hours, minutes, seconds, x1, y1, z1, interior1) VALUES(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)");
mysql_query(query);
Ok but when a player register then their name is registering in the database 2 times.
Why it is like that?
Reply


Messages In This Thread
Line too long - by Crazyboobs - 02.09.2012, 14:38
Re: Line too long - by mamorunl - 02.09.2012, 14:41
Re: Line too long - by Deal-or-die - 02.09.2012, 14:47
Re: Line too long - by Crazyboobs - 02.09.2012, 22:12
Re: Line too long - by mamorunl - 02.09.2012, 22:22
Re: Line too long - by Crazyboobs - 02.09.2012, 22:24
Re: Line too long - by Kirollos - 02.09.2012, 22:25
Re: Line too long - by Crazyboobs - 02.09.2012, 22:38
Re: Line too long - by mamorunl - 02.09.2012, 22:45
Re: Line too long - by Crazyboobs - 02.09.2012, 22:48

Forum Jump:


Users browsing this thread: 3 Guest(s)