HELP with getting coordinates into MSQL
#1

Hi guys im trying to store some coordinates into MSQL and it doesnt seem to work. I think im messing up my MSQL code. Heres the script:

pawn Код:
{
                new string[128];
                GetPlayerPos(i, x, y, z);  
                format(string, sizeof(string), "UPDATE `Users` SET `afkX` = '%s' AND `afkY` = '%s' AND `afkZ` = '%s'  WHERE `Name` = '%s'", x, y, z, vardas);
                mysql_query(string);
                afkn[i] = 1;
            }
everything compiles, but i dont get the coordinates into MSQL. Anyone know whats the problem? Thank you.
Reply


Messages In This Thread
HELP with getting coordinates into MSQL - by Type-R - 13.12.2012, 01:26
Re: HELP with getting coordinates into MSQL - by ReneG - 13.12.2012, 02:22
Re: HELP with getting coordinates into MSQL - by Vince - 13.12.2012, 05:03
Re: HELP with getting coordinates into MSQL - by Type-R - 19.12.2012, 01:52
Re: HELP with getting coordinates into MSQL - by Sinner - 19.12.2012, 05:31
Re: HELP with getting coordinates into MSQL - by Type-R - 21.12.2012, 02:32
Re: HELP with getting coordinates into MSQL - by ReneG - 21.12.2012, 03:14
Re: HELP with getting coordinates into MSQL - by Type-R - 21.12.2012, 11:46

Forum Jump:


Users browsing this thread: 1 Guest(s)