SA-MP Forums Archive
Debuging properly - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Debuging properly (/showthread.php?tid=308192)



Debuging properly - Abreezy - 02.01.2012

How could I debug this:

pawn Код:
if(mysql_fetch_row(szQuery2)) { sscanf(str, "e<p<|>s[24]s[64]s[26]ddfffdd>", User[playerid]); }
                format(szQuery2, sizeof(szQuery2), "UPDATE "SQL_ACCOUNT_TABLE" SET IP = '%s' WHERE Username = '%s'", pIP(playerid), pName(playerid));
                mysql_query(szQuery2);
                printf("LOGIN||[%s] |",str);

The way im doing it now doesn't work. It just shows up empty.


[13:11:15] LOGIN||[] |